NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/58839: libpcap leaks internal symbols
>Number: 58839
>Category: lib
>Synopsis: libpcap leaks internal symbols
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 21 21:10:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBSymbolD Pcapturation
>Environment:
>Description:
Upstream builds libpcap.so with -fvisibility=hidden and marks exported symbols explicitly, but we don't pass -fvisibility=hidden so loads of obviously internal symbols like find_dev, finish_parse, gen_or, sappend, sdup, sf_cleanup, and sock_send are all exported.
>How-To-Repeat:
nm, code inspection
>Fix:
Like with libarchive (PR lib/58829: libarchive exports excess symbols, https://gnats.NetBSD.org/58829), we should build with -fvisibility=hidden although this means dropping some symbols in the current library.
Home |
Main Index |
Thread Index |
Old Index