]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: null sanity checks for pkthdr
authorPhilippe Antoine <contact@catenacyber.fr>
Wed, 14 Oct 2020 19:25:40 +0000 (21:25 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Dec 2020 12:00:42 +0000 (13:00 +0100)
commit445e03d75278eb40c9114eea29e07e5b83e40e4e
treef873fcc69b49ad037fcfeef0aa5e400a3bf6138b
parentf5af8864f7d2e1521a33f1e48e804404a87e8f0e
detect: null sanity checks for pkthdr

Even when the rules are only applied on traffic with the protocol
the structure for the protocol header can be set to NULL if there
was an error parsing the header
src/detect-icmpv6hdr.c
src/detect-ipv4hdr.c
src/detect-ipv6hdr.c
src/detect-tcphdr.c
src/detect-udphdr.c