• src/sbbs3/js_console.cpp

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sun Dec 14 17:43:11 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/910478e5f8f432fe280ccd0d
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    console.getstr() will treat max len < 0 the same as 0

    ... which means it'll default to a maxlen of 128

    Fix for issue #1032
    --- SBBSecho 3.33-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sat Dec 27 01:17:57 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5047306f0dd5ade95bdd7812
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix off-by-one bug in edit string length copy in console.getstr() method

    Bug introduced in commit 95596962fd27cb2d

    As noted in strlcpy man page: "a byte for the NUL should be included in size." --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)