Socket::unpack_sockaddr_un heap-buffer-overflow
authorDavid Mitchell <davem@iabyn.com>
Sun, 24 Feb 2013 16:46:19 +0000 (16:46 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 24 Feb 2013 20:27:17 +0000 (20:27 +0000)
commite5086424505dcbfc5e26aeb984b769ecf5ffed01
tree73f2d799d21fc90042fd92c31e888d7d690d718c
parent7f5f08b152bb9d0c88efd1dd0f70d45e427efe1c
Socket::unpack_sockaddr_un heap-buffer-overflow

[perl #111594]

A (fairly harmless) read buffer overflow can occur when copying sockaddr
buffers. Cherry-pick the fix from Socket 2.009 to keep ASAN happy.
ext/Socket/Socket.xs