summaryrefslogtreecommitdiff
path: root/src/thread/pthread_getcpuclockid.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-01-04 22:54:06 -0500
committerRich Felker <dalias@aerifal.cx>2017-01-04 22:54:06 -0500
commit27b3fd68f67b674440d21ea7ca5cf918d2e1559f (patch)
treee72cf8d11583d18b08e053cb8b3f6baec67dd1b8 /src/thread/pthread_getcpuclockid.c
parent809ff8cf90254921ea38eb6fa1ce326d9008513b (diff)
downloadmusl-27b3fd68f67b674440d21ea7ca5cf918d2e1559f.tar.gz
musl-27b3fd68f67b674440d21ea7ca5cf918d2e1559f.tar.bz2
musl-27b3fd68f67b674440d21ea7ca5cf918d2e1559f.tar.xz
musl-27b3fd68f67b674440d21ea7ca5cf918d2e1559f.zip
fix crash from corrupted tls module list after failed dlopen
commit d56460c939c94a6c547abe8238f442b8de10bfbd introduced this regression as part of splitting the tls module list out of the dso list. the new code added to dlopen's failure path to undo the changes adding the partially-loaded libraries reset the tls_tail pointer correctly, but did not clear its link to the next list entry. thus, at least until the next successful dlopen, the list was not terminated but ended with an invalid next pointer, which __copy_tls attempted to follow when a new thread was created. patch by Mikael Vidstedt.
Diffstat (limited to 'src/thread/pthread_getcpuclockid.c')
0 files changed, 0 insertions, 0 deletions