simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Thu Aug 15 07:42:36 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10018
Date:           2013-08-15 07:42:36 +0100 (Thu, 15 Aug 2013)

Log message (10 lines):
Sebastian Kuschel reports that pfd_closing can be called for a socket
error with pr->c NULL, in which case calling sshfwd_unclean_close on
it will dereference NULL and segfault. Write an alternative error
handling path for that possibility.

(I don't know if it's the only way, but one way this can happen is if
you're doing dynamic forwarding and the socket error occurs during
SOCKS negotiation, in which case no SSH channel has been set up yet
because we haven't yet found out what we want to put in the
direct-tcpip channel open message.)

Modified files:
U   putty/portfwd.c

Links:
http://svn.tartarus.org/sgt/?rev=10018&view=rev
http://svn.tartarus.org/sgt/putty/portfwd.c?rev=10018&r1=10017&r2=10018



More information about the tartarus-commits mailing list