]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/engine: init alert queue counters on reload 7659/head
authorJufajardini Reichow <jufajardini@oisf.net>
Mon, 25 Jul 2022 23:47:23 +0000 (20:47 -0300)
committerVictor Julien <vjulien@oisf.net>
Thu, 28 Jul 2022 14:44:51 +0000 (16:44 +0200)
commit41967bf1191f3d0af902e7a74a217a4b6473e401
tree946955fed1b7dc4965b41cef1a2cd5844a5760a2
parentb8875d4a223762db5efd9976104fa7761b679214
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

(cherry picked from commit 93c2c9743d4ebe35017317a2668c6f8a54498d34)
src/detect-engine.c