simon-svn: putty: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Mon Nov 26 21:09:55 GMT 2007


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       7795
Date:           2007-11-26 21:09:54 +0000 (Mon, 26 Nov 2007)

Log message (6 lines):
sktree is indexed on the numeric value of the socket structure's
underlying WinSock SOCKET. Therefore, if we plan to modify the
SOCKET in a socket, we must remove it from the tree before doing so,
and put it back again afterwards. Otherwise it'll violate the tree's
sorting order, and sooner or later someone will try to find it and
get back NULL.

Modified files:
U   putty/windows/winnet.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=7795&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/windows/winnet.c?rev=7795&r1=7794&r2=7795



More information about the tartarus-commits mailing list