]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode-mime: fix body md5 computation 1671/head
authorEric Leblond <eric@regit.org>
Fri, 2 Oct 2015 21:40:54 +0000 (23:40 +0200)
committerEric Leblond <eric@regit.org>
Tue, 6 Oct 2015 21:30:46 +0000 (23:30 +0200)
commit2ecab3f76523e9078afe1fc425b5972520680dda
treed01a3967f7897198c49aa71eccf070bb6e624de9
parent53419b93c861b948890bb2ac12e13982e72ae726
decode-mime: fix body md5 computation

Previous code was wrongly supposing the lines are ending with CRLF.
But this is not the case so we must propagate the length of end of
line delimiter to be able to compute the md5 of the mail body.
src/app-layer-smtp.c
src/util-decode-mime.c
src/util-decode-mime.h