mirror of https://github.com/OISF/suricata
detect/alert: directly increment alerts.discarded
In the unlikely case of AlertQueueExpand failure, we were incrementing the discarded alerts stats in AlertQueueAppend via the Packet member in the DetectEngineThreadCtx, which may not be initialized yet. Bug #5353pull/7423/head
parent
d745d28d4a
commit
28ac75b505
Loading…
Reference in New Issue