]> git.ipfire.org Git - thirdparty/suricata.git/commit
eve: do not access flow storage in packet context 5555/head
authorSascha Steinbiss <satta@debian.org>
Sun, 8 Nov 2020 12:08:28 +0000 (13:08 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Nov 2020 11:25:35 +0000 (12:25 +0100)
commitea2bc4c962842de8cc2b557b77d15692084200d7
treefd8212e138bd3e58b09dd3b283390b9d51033f13
parentd2c8c9f58e6608521afaf4484292d607e435f8c4
eve: do not access flow storage in packet context

We must make sure not to access the flow storage (e.g. keeping a
MacSet) before making sure we have a flow to begin with, We can,
for example, run into an alert without a flow with `ip` rules,
in which case the flow might be NULL. See Redmine issue #4109.
src/output-json.c