mirror of https://git.musl-libc.org/git/musl
Browse Source
since the backend for LOCK() skips locking if single-threaded, it's unsafe to make the process appear single-threaded before the last use of lock. this fixes potential unsynchronized access to a linked list via __dl_thread_cleanup.master
1 changed files with 11 additions and 8 deletions
Loading…
Reference in new issue