• src/sbbs3/fmsgdump.c pktdump.c

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Oct 5 17:10:11 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/bb0d2496fa5a4892636297fc
    Modified Files:
    src/sbbs3/fmsgdump.c pktdump.c
    Log Message:
    Don't append the stale static string in fmsgattr_str()When this function was called multiple times (e.g. multiple messages in a pkt),it would keep appending to the current (static) string, eventually overflowingthe buffer and corrupting the stack. Although reported in pktdump, it couldhave also happened with fmsgdump if passed multiple stored message (.msg) files.Fixes #295 reported by Nelgin
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)