This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/9957] malloc hook accesses aren't thread-safe


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]