aboutsummaryrefslogtreecommitdiff
path: root/src/malloc/malloc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-05-22 17:35:14 -0400
committerRich Felker <dalias@aerifal.cx>2020-05-22 17:39:57 -0400
commit4d5aa20a94a2d3fae3e69289dc23ecafbd0c16c4 (patch)
tree8eb6e667cd532a4a01e5cf4045dc71d11943b4ad /src/malloc/malloc.c
parentfix incorrect SIGSTKFLT on all mips archs (diff)
downloadgrovel-4d5aa20a94a2d3fae3e69289dc23ecafbd0c16c4.tar.gz
grovel-4d5aa20a94a2d3fae3e69289dc23ecafbd0c16c4.tar.xz
reorder thread list unlink in pthread_exit after all locks
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.
Diffstat (limited to 'src/malloc/malloc.c')
0 files changed, 0 insertions, 0 deletions