[PATCH] Harden tls_dtor_list with pointer mangling [BZ #19018]
Florian Weimer
fweimer@redhat.com
Tue Oct 6 11:15:00 GMT 2015
This patch mangles the destructor function pointer in tls_dtor_list with
pointer mangling, making it more difficult to construct a function
pointer which does not lead to a crash.
Tested with the new thread_local test on x86_64 (with thread_local
support in GCC).
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Harden-tls_dtor_list-with-pointer-mangling-BZ-19018.patch
Type: text/x-patch
Size: 1814 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20151006/957492e9/attachment.bin>
More information about the Libc-alpha
mailing list