diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-07-16 09:54:34 -0700 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2009-07-16 20:36:06 +0200 |
commit | 475cfe06fa5de340302b2245e0a0a162d7350c32 (patch) | |
tree | c6a4732f7335476838ef5b765522dfcb790efc00 /ChangeLog | |
parent | e875bad50a2247e6297c1b2306d87b3eb623a0be (diff) |
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.
(cherry picked from commit bec466d922ee22b94ac0d00415fb605e136efe6e)
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 |