diff options
| author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2017-01-23 14:39:47 -0200 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2017-02-09 00:11:11 -0500 |
| commit | 4adce1bf311f30d584a97a25d34a2e77fa9a0bab (patch) | |
| tree | 14f58a5d94e6625caa9c6aefac8f28868294e0cf /scripts/cpp | |
| parent | 5a855ded1c38d27e016aeff54cfd283d337237a9 (diff) | |
| download | glibc-4adce1bf311f30d584a97a25d34a2e77fa9a0bab.tar.xz glibc-4adce1bf311f30d584a97a25d34a2e77fa9a0bab.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.
(cherry picked from commit e9a96ea1aca4ebaa7c86e8b83b766f118d689d0f)
(with changes from commit eb1321f291515dae75c83a40c39e775fdd38e97a)
(cherry picked from commit 2762a7145bba9681b30ed5d4aed0c5d1df4329c8)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions
