]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util-decode-mime: remove quote from boundary= string.
authorTom DeCanio <decanio.tom@gmail.com>
Fri, 16 Sep 2016 12:24:50 +0000 (05:24 -0700)
committerVictor Julien <victor@inliniac.net>
Tue, 20 Sep 2016 15:10:04 +0000 (17:10 +0200)
remove quote from the end of the boundary= string.  This was throwing off
the mime parser so that it wouldn't always catch mime boundaries causing
things like missed attachments.

src/util-decode-mime.c

index 54902551fae183954bba01e7714cff51f02c7bc8..eb1dcab56659b8b1d8305159147cd4c612d970d9 100644 (file)
@@ -62,7 +62,7 @@
 #define CTNT_DISP_STR     "content-disposition"
 #define CTNT_TRAN_STR     "content-transfer-encoding"
 #define MSG_ID_STR        "message-id"
-#define BND_START_STR     "boundary=\""
+#define BND_START_STR     "boundary="
 #define TOK_END_STR       "\""
 #define MSG_STR           "message/"
 #define MULTIPART_STR     "multipart/"