]> git.ipfire.org Git - thirdparty/glibc.git/commit - malloc/malloc.c
Fix race in corruption check.
authorUlrich Drepper <drepper@redhat.com>
Thu, 16 Jul 2009 16:54:34 +0000 (09:54 -0700)
committerUlrich Drepper <drepper@redhat.com>
Thu, 16 Jul 2009 16:54:34 +0000 (09:54 -0700)
commitbec466d922ee22b94ac0d00415fb605e136efe6e
tree52e72934969d628a3d301e84f1dc66aa9f2ec932
parentbea0ac1d8703091294fe5822d982591c849b5458
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.
ChangeLog
malloc/malloc.c