• src/smblib/smblib.h smbtxt.c

    From rswindell@VERT to CVS commit on Wednesday, April 10, 2019 11:02:55
    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().



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, April 10, 2019 12:10:52
    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).



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