]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix race in corruption check.
authorUlrich Drepper <drepper@redhat.com>
Thu, 16 Jul 2009 16:54:34 +0000 (09:54 -0700)
committerPetr Baudis <pasky@suse.cz>
Thu, 16 Jul 2009 18:36:06 +0000 (20:36 +0200)
commit475cfe06fa5de340302b2245e0a0a162d7350c32
treec6a4732f7335476838ef5b765522dfcb790efc00
parente875bad50a2247e6297c1b2306d87b3eb623a0be
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)
ChangeLog
malloc/malloc.c