diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-07-16 09:54:34 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-16 09:54:34 -0700 |
commit | bec466d922ee22b94ac0d00415fb605e136efe6e (patch) | |
tree | 52e72934969d628a3d301e84f1dc66aa9f2ec932 /ChangeLog | |
parent | bea0ac1d8703091294fe5822d982591c849b5458 (diff) | |
download | glibc-bec466d922ee22b94ac0d00415fb605e136efe6e.tar glibc-bec466d922ee22b94ac0d00415fb605e136efe6e.tar.gz glibc-bec466d922ee22b94ac0d00415fb605e136efe6e.tar.bz2 glibc-bec466d922ee22b94ac0d00415fb605e136efe6e.zip |
Fix race in corruption check.
With atomic fastbins the checks performed can race with concurrent
modifications of the arena. If we detect a problem re-do the test
after getting the lock.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2009-07-16 Ulrich Drepper <drepper@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for + corruption thread-safe. + 2009-07-13 Jakub Jelinek <jakub@redhat.com> * include/atomic.h (catomic_compare_and_exchange_val_rel): If arch |