]> git.ipfire.org Git - thirdparty/suricata.git/commit
util/mime: skip over any invalid char 9289/head
authorShivani Bhardwaj <shivani@oisf.net>
Tue, 11 Jul 2023 09:12:05 +0000 (14:42 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 25 Jul 2023 15:01:20 +0000 (20:31 +0530)
commitcdd6e20fbafadbfbae41ae44d7545eb6a93b7b45
tree663f18a424b2ddb1d33b5f65d2f5fe979fe97826
parent6b42c09634da63ba5e7cf436a1f8c81f1acb1455
util/mime: skip over any invalid char

For certain edge case handling for spaces, spaces were handled
particularly in the remainder processing functions. Make sure that now
that as per RFC 2045, util-base64 would skip over any invalid char, the
edge cases in MIME processor also be handled the same way.

This completes the work done in e46b033.

Ticket 6135
Ticket 6207

(cherry picked from commit 789353bc1e1aa23d075f16af25df84df00c68682)
src/util-base64.c
src/util-base64.h
src/util-decode-mime.c