Project

General

Profile

Actions

Bug #7759

closed

pcap-log: fix memory leak on error paths after SCStrdup(prefix)

Added by Boris Tonofa 26 days ago. Updated 1 day ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:

Description

When PcapLogDataCopy() fails after duplicating pl->prefix,
the allocated 'prefix' string was not freed, leading to a leak.

Actions #1

Updated by Philippe Antoine 1 day ago

  • Status changed from New to Closed
  • Target version changed from TBD to 8.0.0

Fixed by commit 97bfa3b10883610c7675d5b7d99985667b0ed1a1

Actions

Also available in: Atom PDF