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 over 2 years ago. Updated over 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 #1

Updated by Juliana Fajardini Reichow over 2 years ago

  • Affected Versions 6.0.6, 7.0.0-beta1 added
  • Affected Versions deleted (5.0.8)
Actions #2

Updated by Juliana Fajardini Reichow over 2 years ago

  • Parent task set to #5353
Actions #3

Updated by Juliana Fajardini Reichow over 2 years ago

  • Status changed from New to In Review
  • Assignee changed from OISF Dev to Juliana Fajardini Reichow
Actions #4

Updated by Juliana Fajardini Reichow over 2 years ago

  • Copied to Bug #5356: detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand fails added
Actions #5

Updated by Juliana Fajardini Reichow over 2 years ago

  • Subject changed from detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand fails to detect/alert: fix segvfault when incrementing discarded alerts if alert-queue-expand fails (5.0.x backport)
Actions #6

Updated by Juliana Fajardini Reichow over 2 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF