about summary refs log tree commit diff
path: root/nptl/tst-cond16.c
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-01-03 17:16:02 -0200
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-01-03 17:21:41 -0200
commite9a96ea1aca4ebaa7c86e8b83b766f118d689d0f (patch)
treec8171c3229049caaea73c8f5ee2f2f068c02669b /nptl/tst-cond16.c
parentdaaff5cc793acdd4f8667fca3b901647b4c34363 (diff)
downloadglibc-e9a96ea1aca4ebaa7c86e8b83b766f118d689d0f.tar.gz
glibc-e9a96ea1aca4ebaa7c86e8b83b766f118d689d0f.tar.xz
glibc-e9a96ea1aca4ebaa7c86e8b83b766f118d689d0f.zip
powerpc: Fix write-after-destroy in lock elision [BZ #20822]
The update of *adapt_count after the release of the lock causes a race
condition when thread A unlocks, thread B continues and destroys the
mutex, and thread A writes to *adapt_count.
Diffstat (limited to 'nptl/tst-cond16.c')
0 files changed, 0 insertions, 0 deletions