This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/17730] thread-local storage is sometimes improperly free()'d after being __libc_memalign()'d
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 22 Dec 2014 10:13:30 +0000
- Subject: [Bug malloc/17730] thread-local storage is sometimes improperly free()'d after being __libc_memalign()'d
- Auto-submitted: auto-generated
- References: <bug-17730-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17730
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
Flags| |security-
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
I think the only way to fix this is not to call memalign at all, under any
name.
We cannot use the memalign name because it is not in the implementation
namespace for all standards. At the same time, we have to call this function
(and not the glibc implementation) to get the definition from the external
malloc implementation.
--
You are receiving this mail because:
You are on the CC list for the bug.