sk_address_is_local() failed to cope when presented with a Unix-domain socket.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 5 Jan 2009 23:36:14 +0000 (23:36 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 5 Jan 2009 23:36:14 +0000 (23:36 +0000)
commitffbfd0935a4a75c4e3418f1010d526fbd93139a3
treede6672ed5f659c3e087a119827db96969034c18b
parentd070d2ad94f0678122ececc4e40929ba929cc153
sk_address_is_local() failed to cope when presented with a Unix-domain socket.
This could cause Unix PuTTY to segfault when X forwarding over an SSH session
through a proxy.
(sk_getaddr() wouldn't cope either -- in that case, add an assertion to make it
more obvious; I don't think it should ever happen.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@8391 cda61777-01e9-0310-a592-d414129be87e
unix/uxnet.c