This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/9957] malloc hook accesses aren't thread-safe
- From: "krebbel1 at de dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Mar 2009 12:42:28 -0000
- Subject: [Bug libc/9957] malloc hook accesses aren't thread-safe
- References: <20090316123937.9957.krebbel1@de.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From krebbel1 at de dot ibm dot com 2009-03-16 12:42 -------
Created an attachment (id=3827)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3827&action=view)
Possible fix for the problem
The patch adds a compiler memory barrier for the respective hook using an
inline assembly clobbering the memory location.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9957
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.