]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Remove a segfault in bombout() macro: don't sk_close() the socket if
authorSimon Tatham <anakin@pobox.com>
Mon, 29 Jan 2001 13:19:59 +0000 (13:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 29 Jan 2001 13:19:59 +0000 (13:19 +0000)
commitf100f0d7ecbc7e12cecd6326771b5a5371f05260
tree5b35e8ca5695370595b9f4691b7c5881721144c4
parentbf8c205a46c110219598faed17de61d7c71a4581
Remove a segfault in bombout() macro: don't sk_close() the socket if
it's already NULL. The `Incorrect MAC' problem was causing
ssh2_rdpkt to bombout(), setting s to NULL, and then a secondary
bombout() was happening at the next level up, causing a segfault.

git-svn-id: http://svn.tartarus.org/sgt/putty@909 cda61777-01e9-0310-a592-d414129be87e
ssh.c