https://gitlab.synchro.net/main/sbbs/-/commit/8f334bdbe1b3421d1cf5c089
Modified Files:
src/sbbs3/ars.c
Log Message:
ARS: $Z (REST) short-hand symbol dropped its flag argument
The '$Z' case in arstr() was missing a break and fell into the
no-argument (Boolean) symbol branch, so "$ZG" compiled to a bare
REST with the flag letter discarded. The evaluator then read the
string terminator as the flag, computing FLAG(0), a shift by a negative
count (undefined behavior). The "REST" keyword form was unaffected.
The fall-through dates back to the initial check-in, 7e3e47141a
(broad-5-serum, 2000-10-10).
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net