]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode: prevent segfault on bypass without flow 4191/head
authorEric Leblond <eric@regit.org>
Fri, 24 May 2019 21:37:49 +0000 (23:37 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Sep 2019 06:51:14 +0000 (08:51 +0200)
commit5c83716dcbf1707dfa7f5a76b57606a9af0fc5b9
treebce49fa24abbf86337474f0632834f4d78df569f
parentc55226b7126079d78e4bf5c6fc290242001954a6
decode: prevent segfault on bypass without flow

When using a rule like:
pass ip any any -> any any (msg:"Bypass"; sid:1; rev:1;)

We could get a match even in case of flow exhaustion where the
Packet has no Flow attached.
src/decode.c