]> git.ipfire.org Git - thirdparty/suricata.git/commit
util/mime: adds safety check
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 18 Apr 2024 11:36:34 +0000 (13:36 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 19 Apr 2024 18:51:25 +0000 (20:51 +0200)
commit402f39b4f2c0ff3b7e73e6c65cb13b0a34cce321
tree452d9bcc69564e45d5e6b0da4a268469cffb13e5
parent7274ad58aaeab5a65d49aa8d60839d7cf1f56e00
util/mime: adds safety check

Ticket: 6904

Even if there is no problem, just fortify the function,
so that it is future-proof if the caller does not do the check.
src/util-decode-mime.c