]> git.ipfire.org Git - thirdparty/suricata.git/commit
mime: compute full body md5 9111/head
authorPhilippe Antoine <pantoine@oisf.net>
Fri, 16 Jun 2023 13:28:38 +0000 (15:28 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 30 Jun 2023 07:17:23 +0000 (09:17 +0200)
commita3168fda787d4f4eee45f5c84bcc1709f207ae0a
treec18733dad1ce3fb31b4573baf7c88f46884f5730
parent2a768dfa9520c15116c11bea1d96c6ce17b8343c
mime: compute full body md5

Previously, the problem was that nested headers/boundaries were not
used to compute the hash

Solution is to move up the call to the hash computation from
ProcessMimeBody to its caller ProcessMimeEntity, and add a set of
conditions to ensure that we are not in the principal headers.

Ticket: #6185
src/util-decode-mime.c