about summary refs log tree commit diff
path: root/src/unistd/ttyname_r.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-10-05 01:15:25 -0400
committerRich Felker <dalias@aerifal.cx>2012-10-05 01:15:25 -0400
commit642b7593c3b3488d229488a436bab294dcc27ee9 (patch)
tree485eb850b836f921c3a4582e2aff8ddf0b01881f /src/unistd/ttyname_r.c
parent99a2af6f45b356324e99acf0da809ca416eed0de (diff)
downloadmusl-642b7593c3b3488d229488a436bab294dcc27ee9.tar.gz
musl-642b7593c3b3488d229488a436bab294dcc27ee9.tar.xz
musl-642b7593c3b3488d229488a436bab294dcc27ee9.zip
fix race condition in dlopen
orig_tail was being saved before the lock was obtained, allowing
dlopen failure to roll-back other dlopens that had succeeded.
Diffstat (limited to 'src/unistd/ttyname_r.c')
0 files changed, 0 insertions, 0 deletions