]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: config checks alstate before getting tx 7242/head
authorPhilippe Antoine <contact@catenacyber.fr>
Fri, 8 Apr 2022 13:15:23 +0000 (15:15 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 14 Apr 2022 20:51:40 +0000 (22:51 +0200)
commitdccf2e4c30b968477d9cc7e7a86b64b97893831c
treec59989f79a43bd98fd2151f8b95504bf4d25ab43
parent45d1a9ae772acdf1291c0880217beb16d3bc60c7
detect: config checks alstate before getting tx

Ticket: 4972

As is done in detect-lua-extensions.
We can have a flow with alproto unknown, no state, and therefore
cannot run AppLayerParserGetTx which could try to run a NULL
function
src/detect-config.c