https://gitlab.synchro.net/main/sbbs/-/commit/3db32a64a9497330ddd2bc95
Modified Files:
exec/qwk_sec.js src/sbbs3/sbbs.h
Log Message:
Harden command keys: empty command words, negative char in toupper()
- qwk_sec.js: an empty command-word text string gave a NUL command key,
which cut short the key list passed to console.getkeys() and disabled
the other menu keys; now it is logged as an error and skipped (Quit
falls back to 'Q')
- sbbs.h: the yes_key() ... pointers_key() helpers now cast the first
character to uchar before toupper(), which is undefined for a negative
(high-bit) char, e.g. a translation starting with a CP437 letter
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net