]> git.ipfire.org Git - thirdparty/suricata.git/commit
eve/mqtt: fix mqtt logging with threaded eve 6016/head
authorJason Ish <jason.ish@oisf.net>
Thu, 25 Mar 2021 18:11:01 +0000 (12:11 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 1 Apr 2021 11:26:57 +0000 (13:26 +0200)
commitc23ea17d6b75971828e83080b64e2a10bfeee1fa
treec5776600df1d2f324e67dff28f8253aa186bdeaf
parente6262b737a22d29bc66da93ed827242f9a851497
eve/mqtt: fix mqtt logging with threaded eve

Mqtt was not setting up a per-thread file context for logging
in threaded mode, leading a crash when used in threaded mode.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/4404

(cherry picked from commit 64330498f842386cc1f1cdec0409959b5565496f)
src/output-json-mqtt.c