]> git.ipfire.org Git - thirdparty/suricata.git/commit
util/mime: skip over any invalid char
authorShivani Bhardwaj <shivani@oisf.net>
Tue, 11 Jul 2023 09:12:05 +0000 (14:42 +0530)
committerVictor Julien <vjulien@oisf.net>
Thu, 13 Jul 2023 20:17:02 +0000 (22:17 +0200)
commit789353bc1e1aa23d075f16af25df84df00c68682
tree0d83e73c693b05795f63aa08d451ef86e3c2043e
parent60db5e981cd4a6680022de523bfd03f651e61764
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
src/util-base64.c
src/util-base64.h
src/util-decode-mime.c