diff options
author | dkf <dkf@noemail.net> | 2005-11-28 09:49:56 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-11-28 09:49:56 (GMT) |
commit | 432eca2d49ac83da88178534f5c94b4da1ed6294 (patch) | |
tree | ffbfbad9b29d8c91f8fe55f8eec4a6cd244c1ef7 /win | |
parent | 1d0f1a713df54e2251c6be64c46630a0048f3fef (diff) | |
download | tcl-432eca2d49ac83da88178534f5c94b4da1ed6294.zip tcl-432eca2d49ac83da88178534f5c94b4da1ed6294.tar.gz tcl-432eca2d49ac83da88178534f5c94b4da1ed6294.tar.bz2 |
Apply [Patch 1353853] to prevent UMR randomness.
FossilOrigin-Name: eab767dcf05d48ee2750593c950f0364d126212e
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinSock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 9af7d3e..6643345 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinSock.c,v 1.36.2.3 2005/01/27 22:53:39 andreas_kupries Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.36.2.4 2005/11/28 09:49:57 dkf Exp $ */ #include "tclWinInt.h" @@ -1088,7 +1088,7 @@ CreateSocket(interp, port, host, server, myaddr, myport, async) * in progress. */ SOCKADDR_IN sockaddr; /* Socket address */ SOCKADDR_IN mysockaddr; /* Socket address for client */ - SOCKET sock; + SOCKET sock = INVALID_SOCKET; SocketInfo *infoPtr; /* The returned value. */ ThreadSpecificData *tsdPtr = (ThreadSpecificData *)TclThreadDataKeyGet(&dataKey); |