]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
sk_address_is_local() failed to cope when presented with a Unix-domain socket.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Mon, 5 Jan 2009 23:36:14 +0000 (23:36 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Mon, 5 Jan 2009 23:36:14 +0000 (23:36 +0000)
commite0deac8960ed4b79c0f29185cffef66040b8abee
treede6672ed5f659c3e087a119827db96969034c18b
parent7843fb79d11a59a262cfa437e8555e708154eb10
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.)

[originally from svn r8391]
unix/uxnet.c