• src/smblib/smblib.h smbtxt.c

    From rswindell@1:103/705 to CVS commit on Wed Apr 10 13:02:55 2019
    src/smblib smblib.h 1.89 1.90 smbtxt.c 1.34 1.35
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv28572

    Modified Files:
    smblib.h smbtxt.c
    Log Message:
    Added buffer (filename) overflow protection to smb_getattachment().


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Apr 10 14:10:52 2019
    src/smblib smblib.h 1.90 1.91 smbtxt.c 1.35 1.36
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv7913

    Modified Files:
    smblib.h smbtxt.c
    Log Message:
    Added smb_getcontenttype(): returns the MIME content-type of the message
    or NULL if not relevant (not a MIME-encoded message).
    Added smb_countattachments(): returns the number of file attachments in a MIME-encoded message.
    Added SMBMSGTXT_NO_TAILS definition to be used in place of '0' for
    common smb_getmsgtxt() mode argument value.
    The amount of white-space after "Content-Type:" and the content-type value
    is now more flexible (0 or +1 spaces/tabs are fine).


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)