• src/conio/sdl_con.c src/syncterm/bbslist.c

    From Deucе@VERT to Git commit to main/sbbs/master on Tue Mar 17 11:59:17 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/17028aefe6b834313874fcbf
    Modified Files:
    src/conio/sdl_con.c src/syncterm/bbslist.c
    Log Message:
    Bounds-check settings.defaultCursor and NULL-check do_scale()

    Clamp defaultCursor index before indexing cursor_descrs[] in
    change_settings() display loop — a corrupt or hand-edited INI could
    cause an out-of-bounds read. (Coverity CID 501973)

    Add missing NULL check on do_scale() return in SDL backend to prevent
    a NULL pointer dereference on allocation failure.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net