• src/smblib/smballoc.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 2 13:25:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/c2d6c7c28c7c6b038d7a5c47
    Modified Files:
    src/smblib/smballoc.c
    Log Message:
    Detect/reject negative offset argument values to smb_freemsgdat()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sun Dec 24 17:33:28 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/98e60c4f7886b243e3948b77
    Modified Files:
    src/smblib/smballoc.c
    Log Message:
    Place error description in smb->last_error in smb_freemsghdr()

    A couple of failure conditions from this function (e.g. SMB_ERR_HDR_LEN)
    would not write an error descripton to smb->last_error. Now fixed.

    Noticed this when debugging echicken's reported FileBase.renew() issue.

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