Project

General

Profile

Actions

Bug #7303

closed
ZK ZK

detect: memleak in case of errors during initialization

Bug #7303: detect: memleak in case of errors during initialization

Added by Zemeteri Kamimizu over 1 year ago. Updated over 1 year ago.

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

Description

The new_de_ctx instance of type DetectEngineCtx should be disposed in case of error:

src/detect-engine.c:3920 - allocation of the instance, but no disposal under error label


Subtasks 1 (0 open1 closed)

Bug #7307: detect: memleak in case of errors during initialization (7.0.x backport)ClosedJuliana Fajardini ReichowActions

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #1

  • Status changed from New to In Review

VJ Updated by Victor Julien over 1 year ago Actions #2

  • Target version changed from TBD to 8.0.0-beta1
  • Label Needs backport to 7.0 added

OT Updated by OISF Ticketbot over 1 year ago Actions #3

  • Subtask #7307 added

OT Updated by OISF Ticketbot over 1 year ago Actions #4

  • Label deleted (Needs backport to 7.0)

ZK Updated by Zemeteri Kamimizu over 1 year ago Actions #5

  • Status changed from In Review to Resolved

JF Updated by Juliana Fajardini Reichow over 1 year ago ยท Edited Actions #6

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #7

  • Subject changed from free new_de_ctx in case of error to detect: memleak in case of errors during initialization
  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom