summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchengyemao <chengyemao>2003-02-27 04:08:20 (GMT)
committerchengyemao <chengyemao>2003-02-27 04:08:20 (GMT)
commit4873c79487937794dde949506edacf8e5372b9f0 (patch)
tree8002221da3b409985344aa0860082539cb324d28
parent55cced878e6ab5b0f8ef53b039bb9e8998a035d2 (diff)
downloadtcl-4873c79487937794dde949506edacf8e5372b9f0.zip
tcl-4873c79487937794dde949506edacf8e5372b9f0.tar.gz
tcl-4873c79487937794dde949506edacf8e5372b9f0.tar.bz2
Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in calling GetUserName
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d872e5..14286db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-26 Chengye Mao <chengye.geo@yahoo.com>
+
+ * win/tclWinInit.c: fixed a bug in TclpSetVariables by initializing
+ dwUserNameLen with the sizeof(szUserName) before calling GetUserName.
+ Don't know if this bug has been recorded: it caused crash in starting
+ Tcl or wish in Windows.
+
2003-02-26 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak when