Skip to content

Potential memory leak in tcpdump.c #1091

Open
@icy17

Description

@icy17

Calling pcap_compile in tcpdump.c line: 2350 and 2753 without releasing the fcode cause memleak.

when pcap_setfilter fails, there is no pcap_freecode. It's better to fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions