]> git.ipfire.org Git - thirdparty/suricata.git/commit
nfq: clear memory of queue before using it 4321/head
authorVictor Julien <victor@inliniac.net>
Fri, 18 Oct 2019 10:02:03 +0000 (12:02 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 18 Oct 2019 10:40:35 +0000 (12:40 +0200)
commit64a789bbf6b7e297048e574f21f7a084c54f307b
tree07a6a792cd5dd10fcdfae6ebc41cfdf8ca633345
parent2fd1174a56adc34bd8ff748caee2394f6bfc022e
nfq: clear memory of queue before using it

Avoids using uninitialized memory. Show showed itself
in nonsense values in counters, and in nfq_handle_packet
errors that were likely the result of passing uninitialized
memory to the nfq API.

Bug 3263.
Bug 3120.

Fixes: b2a6c60dee83 ("source-nfq: increase maximum queues number to 65535")
src/source-nfq.c