simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Sep 7 14:06:54 BST 2014


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10216
Date:           2014-09-07 14:06:52 +0100 (Sun, 07 Sep 2014)

Log message (8 lines):
Close the listening socket when a sharing upstream dies.

Without this, doing 'Restart Session' on Windows in a session with
sharing enabled but no actual sharing being done would crash, because
the first incarnation of the session would become an upstream and
establish a listening named pipe, which then wouldn't get cleaned up
when the session closed, so the restarted session would try to connect
to it, triggering a call to plug_accepting on a freed sharestate.

Modified files:
U   putty/sshshare.c

Links:
http://svn.tartarus.org/sgt/?rev=10216&view=rev
http://svn.tartarus.org/sgt/putty/sshshare.c?rev=10216&r1=10215&r2=10216



More information about the tartarus-commits mailing list