mirror of https://github.com/OISF/suricata
log/file: Ensure file ctx pointer is returned .
The fix for issue 7447 introduced an error with threaded eve output.
The changes that were committed for that issue mishandled the return
value when a file is being opened for the 2nd or higher time.
Instead of returning the existing file context, null was returned.
(cherry picked from commit 1d996c5aed)
pull/12391/head
parent
d6c30bbf32
commit
a10ee8d6bc
Loading…
Reference in New Issue