simon-svn: putty: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sun Nov 17 14:04:33 GMT 2013
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 10073
Date: 2013-11-17 14:04:33 +0000 (Sun, 17 Nov 2013)
Log message (6 lines):
Reliably initialise uxnet's socket fd fields to -1.
This prevents embarrassing mess-ups involving getting back a Socket
which has mostly been memset to 0 but contains an error message,
sk_close()ing it to free the memory, and finding that standard input
has been closed as a side effect.
Modified files:
U putty/unix/uxnet.c
Links:
http://svn.tartarus.org/sgt/?rev=10073&view=rev
http://svn.tartarus.org/sgt/putty/unix/uxnet.c?rev=10073&r1=10072&r2=10073
More information about the tartarus-commits
mailing list