• src/conio/sdl_con.c src/s

    From Deuc¿@VERT to Git commit to main/sbbs/m on Tuesday, March 17, 2026 11:59:00
    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