Fix memory corruption with unnamed AF_UNIX sockets.
authorTom Hughes <tom.hughes@palm.com>
Fri, 17 Dec 2010 23:26:58 +0000 (17:26 -0600)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 22 Dec 2010 18:29:28 +0000 (10:29 -0800)
commit4b555091e42ec5e9d9568abead5011dea6c0be9b
tree1a5bd008f667822a7b7597db5bc48e3d1cb5ab23
parentd02131d206d0012511cc068a70d15ffe59162f31
Fix memory corruption with unnamed AF_UNIX sockets.

AF_UNIX sockets can have a pathname, be unnamed, or abstract (Linux
only). If an unnamed socket is returned by getsockname, getpeername, or
accept, sun_path should not be inspected.
src/node_net.cc