]> git.ipfire.org Git - thirdparty/suricata.git/commit
mime/base64: fix final data not getting processed
authorVictor Julien <vjulien@oisf.net>
Mon, 27 Jun 2022 14:20:02 +0000 (16:20 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 29 Jun 2022 20:57:40 +0000 (22:57 +0200)
commit57adc048efcd3ffc67e9c215fc9ea071250a277e
tree185ff6e0da3f5a2f699a2af850ec9d487d323498
parent404fe54fcbe9d494b17f03a6cee574616da589de
mime/base64: fix final data not getting processed

If the last data of the body was not a multple of 4 and not padded
to be a multiple of 4, it would not be processed.

(cherry picked from commit 0d6ab727c55cbda04404ec44c5aa6582f3922478)
src/util-decode-mime.c