]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/engine: init alert queue counters on reload 7641/head
authorJufajardini Reichow <jufajardini@oisf.net>
Mon, 25 Jul 2022 23:47:23 +0000 (20:47 -0300)
committerJufajardini Reichow <jufajardini@oisf.net>
Mon, 25 Jul 2022 23:51:58 +0000 (20:51 -0300)
commit93c2c9743d4ebe35017317a2668c6f8a54498d34
tree0ef3c5d7220dc8da7f53467a0d82b6f0d24c540e
parentf8bf5817752f19565f1b7449710d1e6a2a96d00a
detect/engine: init alert queue counters on reload

alert_queue_overflow and alerts_suppressed were not being
reinitialized when there was a reload of Suricata rules, leading to
non-valid stats counters if that happened.

Bug #5457
src/detect-engine.c