• src/smblib/smballoc.c smblib.c smblib.h

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Sunday, May 07, 2023 23:30:05
    https://gitlab.synchro.net/main/sbbs/-/commit/f7d2b24d3131d4896c3adf08
    Modified Files:
    src/smblib/smballoc.c smblib.c smblib.h
    Log Message:
    smb_putmsghdr() now supports expanding message headers beyond allocated blocks

    The old "illegal header length increase" error goes away and now smb_putmsghdr() will re-allocate a header if needs to be moved to accommodate new header fields or header fields with increase data lengths.

    We can consider getting rid of the MsgBase "expand_fields" concept now.

    This fixes issue #404

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