NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/58842: libmagic leaks private and zstd symbols



>Number:         58842
>Category:       lib
>Synopsis:       libmagic leaks private and zstd symbols
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 21 23:50:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The NetBSD Foundmagic.so
>Environment:
>Description:
Upstream builds libmagic with -fvisibility=hidden and exported symbols explicitly marked, but we don't, so various private symbols are exported that shouldn't be.  libmagic in HEAD also now re-exports zstd symbols.
>How-To-Repeat:
nm, code inspetion
>Fix:
use -fvisibility=hidden, update expected symbols list, bump major



Home | Main Index | Thread Index | Old Index