]> 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)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 3 Dec 2020 22:39:55 +0000 (04:09 +0530)
commite1501231d7cb34766d5ed9d8dd716aa218d3491d
treec5370b600890df091e4c595b60f7638a90f456e4
parentef3d2573f36533523659ce0ea434c6316a6a9017
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-ipv4hdr.c
src/detect-ipv6hdr.c
src/detect-tcphdr.c
src/detect-udphdr.c