[PATCH] Async signal safe TLS accesses
Alexandre Oliva
aoliva@redhat.com
Sun Dec 1 01:45:00 GMT 2013
On Nov 30, 2013, Rich Felker <dalias@aerifal.cx> wrote:
> Pointer-to-pointer allocation interfaces should be Considered Harmful
> because they encourage UB via aliasing violations of the form:
> char *p;
> posix_memalign((void **)&p, a, n);
Heh. True enough. I *almost* mentioned this aliasing problem myself
;-)
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
More information about the Libc-alpha
mailing list