This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11952] glibc may use uninitialized DTV slot, return NULL for &thread_local
- From: "drepper at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Sep 2010 00:14:01 -0000
- Subject: [Bug libc/11952] glibc may use uninitialized DTV slot, return NULL for &thread_local
- References: <20100827191037.11952.ppluzhnikov@google.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at gmail dot com 2010-09-16 00:13 -------
(In reply to comment #1)
> Created an attachment (id=4957)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4957&action=view)
> Proposed patch that fixes the problem
This might or might not be the right way to handle this. What bothers me most,
though, is that this code seems to be unnecessary on sane platforms which don't
allow incorrect code like non-PIC objects in DSOs.
I have to think a lot more about this.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11952
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.