Re: [PATCH] socket_local46: Make room on the stack for IPv6 sockaddrs

2015-07-26 Thread Jesse Young
On Sun, 26 Jul 2015 21:29:31 +0200 Laurent Bercot ska-skaw...@skarnet.org wrote: On 26/07/2015 21:15, Jesse Young wrote: byte_copy() reads past the end of the sockaddr structure because it isn't sufficiently large enough to handle sockaddr_in6 addresses resulting in undefined behavior.

[PATCH] socket_local46: Make room on the stack for IPv6 sockaddrs

2015-07-26 Thread Jesse Young
byte_copy() reads past the end of the sockaddr structure because it isn't sufficiently large enough to handle sockaddr_in6 addresses resulting in undefined behavior. armv6-alpine-linux-muslgnueabihf-gcc 5.1.0-r0 generates the UDF instruction in this case, causing programs to SIGILL. ---