]> git.ipfire.org Git - thirdparty/suricata.git/commit
smtp: don't pass partial boundary on to mime parser
authorVictor Julien <vjulien@oisf.net>
Fri, 15 Apr 2022 13:51:10 +0000 (15:51 +0200)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 21 Apr 2022 07:31:56 +0000 (13:01 +0530)
commitcb3e66d6e9dabd1178693088180427cddf28b3f2
tree81b034c7004bbc6d03ee784a9e5aa93ee0e9447e
parent17ed7836a3df38c343956d8ceefd0ac3f442a243
smtp: don't pass partial boundary on to mime parser

If the start of a line looks like it might be a mime boundary we
yield to the get line logic if we don't have enough data to be
conclusive.

(cherry picked from commit e7417a8e96fcd23fa9e3b529d7c2bbd7b3efb928)
src/app-layer-smtp.c