Project

General

Profile

Actions

Bug #7759

closed

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

Added by Boris Tonofa about 2 months ago. Updated 21 days 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

Also available in: Atom PDF