This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, 2.15 has been created
at 9875bb22212391e39d9d2c29b4b5d5e9e1f83beb (commit)
Perform sanity check only if we have_lock. Due to lockless nature of fastbins
we need to be careful derefencing pointers to fastbin entries (chunksize(old)
in this case) in multithreaded environments.
The fix is to add have_lock to the if-condition checks. The rest of the patch
only makes code more readable.
* malloc/malloc.c (_int_free): Perform sanity check only if we
have_lock.
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, 2.15 has been created 39d9d2c29b4b5d5 e9e1f83beb (commit)
at 9875bb22212391e
- Log ------- ------- ------- ------- ------- ------- ------- ------- ------- -- /sourceware. org/git/ gitweb. cgi?p=glibc. git;h=9875bb222 12391e39d9d2c29 b4b5d5e9e1f83be b
https:/
commit 9875bb22212391e 39d9d2c29b4b5d5 e9e1f83beb
Author: Maxim Kuvyrkov <email address hidden>
Date: Tue Dec 24 09:44:50 2013 +1300
Fix race in free() of fastbin chunk: BZ #15073
Perform sanity check only if we have_lock. Due to lockless nature of fastbins
we need to be careful derefencing pointers to fastbin entries (chunksize(old)
in this case) in multithreaded environments.
The fix is to add have_lock to the if-condition checks. The rest of the patch
only makes code more readable.
* malloc/malloc.c (_int_free): Perform sanity check only if we
have_lock.
Conflicts:
ChangeLog
NEWS
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -