simon-svn: putty putty-wishlist: jacob

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Jan 3 16:50:41 GMT 2011


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     jacob
Revision:       9069
Date:           2011-01-03 16:50:41 +0000 (Mon, 03 Jan 2011)

Log message (8 lines):
When iterating over all channels for a dead SSH connection, don't miss out
those in the CHAN_SOCKDATA_DORMANT state (i.e., local-to-remote forwardings
which the SSH server had not yet acknowledged).
Marcel Kilgus has been running with the ssh_do_close() patch for nearly two
years (*cough*) and reports that it has eliminated frequent
'unclean-close-crash' symptoms for him (due to the unclosed socket generating
a pfd_closing() which accessed freed memory), although I've not reproduced
that. The patch to ssh_free() is mine and not known to fix any symptoms.

Modified files:
U   putty/ssh.c
U   putty-wishlist/data/unclean-close-crash

Links:
http://svn.tartarus.org/sgt/?rev=9069&view=rev
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9069&r1=9068&r2=9069
http://svn.tartarus.org/sgt/putty-wishlist/data/unclean-close-crash?rev=9069&r1=9068&r2=9069



More information about the tartarus-commits mailing list