Skip to content

Commit

Permalink
scripts/valgrind/.valgrind.supp: sem_open is broken in some libc impl…
Browse files Browse the repository at this point in the history
…ementations [networkupstools#2511]

Per https://forums.freebsd.org/threads/named-semaphore-uninitialized-bytes.84850/
apparently BSD libc and GLibc at least do suffer

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jul 11, 2024
1 parent 1fb03cd commit f7e94fd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/valgrind/.valgrind.supp
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,20 @@
fun:wrap_nut_avahi_client_new
...
}
{
# https://forums.freebsd.org/threads/named-semaphore-uninitialized-bytes.84850/
<glibc-sem_open>
Memcheck:Cond
...
fun:sem_open
...
}
{
<glibc-sem_trywait>
Memcheck:Cond
...
fun:sem_trywait*
...
fun:start_thread
...
}

0 comments on commit f7e94fd

Please sign in to comment.