From 51b3bdd30fae6305c3475a7d49d507991e63a967 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 25 May 2024 01:59:22 -0400 Subject: unprotbas: don't corrupt memory if >256 vvtable entries. --- unprotbas.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'unprotbas.rst') diff --git a/unprotbas.rst b/unprotbas.rst index eca793c..39a051b 100644 --- a/unprotbas.rst +++ b/unprotbas.rst @@ -262,9 +262,11 @@ variable value table can hold more than 256 values, though the variable numbers wrap around once they pass 255. The attempt to add variables past the 128th causes BASIC to respond with *ERROR- 4*, but the variable does get added to the tables. **unprotbas** will preserve -these extra (useless) entries in the tables, though it will complain -"Warning: variable #XXX value is corrupt" for value table entries -256 and up. This is a pathological case, and shouldn't happen with -programs that aren't deliberately written to test this behaviour. +these extra (useless) entries in the tables. + +If there more than 256 entries in the value table, you will see +"Warning: skipping variable numbers >=256 in value table". This is +a pathological case, and shouldn't happen with programs that aren't +deliberately crafted to test this behaviour. .. include:: manftr.rst -- cgit v1.2.3