Project

General

Profile

Actions

Bug #5354

closed

Bug #5353: detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand fails

detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand fails (5.0.x backport)

Added by Juliana Fajardini Reichow almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

This happens because `alerts.discarded` is being incremented indirectly via the DetCtx's Packet, instead of using the Packet that is passed to the function.

(Backport)


Related issues 1 (0 open1 closed)

Copied to Suricata - Bug #5356: detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand failsRejectedJuliana Fajardini ReichowActions
Actions

Also available in: Atom PDF