]> git.ipfire.org Git - thirdparty/suricata.git/commit
eve/json/xff - remove check for flow being NULL. 3372/head
authorJason Ish <ish@unx.ca>
Wed, 9 May 2018 12:50:03 +0000 (06:50 -0600)
committerJason Ish <ish@unx.ca>
Wed, 9 May 2018 12:50:03 +0000 (06:50 -0600)
commit95481a91760eda26510ee0e60348d3acdfe37629
tree9accacd0b02aa72d0ce7f802bc350caed5c4c212
parent26b61bad90970d6a0a8347a7d3238ce6d4379b73
eve/json/xff - remove check for flow being NULL.

Fix Coverity issue:
** CID 1435535:  Null pointer dereferences  (REVERSE_INULL)
/src/output-json-file.c: 212 in JsonBuildFileInfoRecord()

Where we check a variable for being NULL, when all paths to the
code show that it can't be NULL.
src/output-json-file.c