• src/sbbs3/chksmb.c

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed Sep 30 02:44:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/540ba0d0687f94c8aca7b65a
    Modified Files:
    src/sbbs3/chksmb.c
    Log Message:
    chksmb: compute a message's data block count once

    The data-block verification loop re-evaluated smb_datblocks(smb_getmsgdatlen(&msg)), which walks every data field, as
    its bound on each iteration.

    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sat Nov 14 13:59:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/6708bf23c477b7b9f02dae61
    Modified Files:
    src/sbbs3/chksmb.c
    Log Message:
    chksmb: report data blocks whose reference count doesn't match

    The data block check only counted free records in the allocation file
    and flagged active messages whose blocks were marked free. A block used
    by two messages but allocated once (cross-linked), or allocated with no
    message using it (leaked), went unreported; a cross-link surfaced only
    when the overwritten text happened to break a translation header.

    chksmb now counts, for every data block, the headers still allocated
    (deleted or not) that use it, and compares that with the block's
    reference count in the allocation file. Mismatches are reported per
    block and as "Data Block Reference Mismatches" in the summary, and the
    base is reported as having errors.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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