• src/sbbs3/smbutil.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jan 16 20:16:08 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/783f80855c13873c76054e26
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Fix index corruption resulting from packing an unmaintained msg base

    and filebase corruption.

    Bug was introduce in v3.19 with the filebase support:
    - we were assuming the newly packed (rebuilt) index had the same record offsets
    as the original/source index (if any records are skipped, e.g. because they
    are deleted, they offsets aren't the same, so you end up with an index (.sid)
    file that's too big and thus fails chksmb verification
    - we weren't reading the entire file base index record so packing a filebase
    would corrupt the index

    Bumped version to 3.21

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