• src/sbbs3/prntfile.cpp

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue May 5 15:55:25 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/8b4ddcae8c86c2b7255bcf69
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    printfile: guard fseeko restore against ftello failure (CID 645973)

    ftello() can return -1 on error; passing that to fseeko() with SEEK_SET
    is invalid. Skip the restore if the saved position was never captured.
    Same pattern in both 'n' (forward) and 'N' (backward) less-style search branches; Coverity flagged the latter at line 447.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed May 27 13:07:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/d3123dd1ae2792d9268baa44
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    sbbs_t::menu_exists: fall back to default menu dir if not found in menu_dir

    When menu_dir is set (the override sub-directory of text/menu/), menu file lookups now retry in the default menu directory if no matching file (any extension or width variant, mods overlay included) exists in the subdir.
    Since this lives in menu_exists(), all callers — sbbs_t::menu(), random_menu(), and others — get the fallback.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net