https://gitlab.synchro.net/main/sbbs/-/commit/0126c511ac650dc031481d79
Modified Files:
src/sbbs3/js_console.cpp
Log Message:
js_console: free the getstr() history on every error return
console.getstr() allocates its history list on the heap since f8a273e354 (belle-21-found, 2026-11-24), but four error returns in the argument loop
left it allocated: a failed number or string conversion after a history
array argument, or a failed length query on a second array argument. Each
now frees the list first.
Coverity CID 662570.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)