Project

General

Profile

Actions

Bug #5355

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 (6.0.x backport)

Added by Juliana Fajardini Reichow about 2 years ago. Updated about 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 ticket)


Subtasks 1 (0 open1 closed)

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

Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #5353: detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand failsClosedJuliana Fajardini ReichowActions
Actions

Also available in: Atom PDF