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, release/2.16/master has been updated
via c972bcc9ebdb5c2601b6b34001c7450e7a0b5ea3 (commit)
from 02eff8c4f82241c0843d47cb58c4355eb4f5d9e9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
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, release/2.16/master has been updated 601b6b34001c745 0e7a0b5ea3 (commit) 0843d47cb58c435 5eb4f5d9e9 (commit)
via c972bcc9ebdb5c2
from 02eff8c4f82241c
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log ------- ------- ------- ------- ------- ------- ------- ------- ------- -- /sourceware. org/git/ gitweb. cgi?p=glibc. git;h=c972bcc9e bdb5c2601b6b340 01c7450e7a0b5ea 3
https:/
commit c972bcc9ebdb5c2 601b6b34001c745 0e7a0b5ea3
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
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
Summary of changes: +++++-- ------
ChangeLog | 7 +++++++
NEWS | 2 +-
malloc/malloc.c | 20 +++++++
3 files changed, 20 insertions(+), 9 deletions(-)