~oisf/suricata-daily-git-test/suricata

Viewing all changes in revision 10414.

  • Committer: Victor Julien
  • Date: 2019-10-18 10:40:35 UTC
  • Revision ID: git-v1:64a789bbf6b7e297048e574f21f7a084c54f307b
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")

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: