Remove a segfault in bombout() macro: don't sk_close() the socket if
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 29 Jan 2001 13:19:59 +0000 (13:19 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 29 Jan 2001 13:19:59 +0000 (13:19 +0000)
commit3cd52910fd75718777c4ed16d91e2965b1c5d73f
tree5b35e8ca5695370595b9f4691b7c5881721144c4
parente35b295164f7ef50373fbb25ddd80a94a2ab0fae
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: svn://svn.tartarus.org/sgt/putty@909 cda61777-01e9-0310-a592-d414129be87e
ssh.c