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.1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'unprotbas.1') diff --git a/unprotbas.1 b/unprotbas.1 index 42b551e..2727592 100644 --- a/unprotbas.1 +++ b/unprotbas.1 @@ -294,10 +294,12 @@ 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 \fIERROR\- 4\fP, but the variable does get added to the tables. \fBunprotbas\fP 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\(aqt happen with -programs that aren\(aqt deliberately written to test this behaviour. +these extra (useless) entries in the tables. +.sp +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\(aqt happen with programs that aren\(aqt +deliberately crafted to test this behaviour. .SH COPYRIGHT .sp WTFPL. See \fI\%http://www.wtfpl.net/txt/copying/\fP for details. -- cgit v1.2.3