diff options
author | chengyemao <chengyemao> | 2003-02-27 04:08:20 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2003-02-27 04:08:20 (GMT) |
commit | 4873c79487937794dde949506edacf8e5372b9f0 (patch) | |
tree | 8002221da3b409985344aa0860082539cb324d28 | |
parent | 55cced878e6ab5b0f8ef53b039bb9e8998a035d2 (diff) | |
download | tcl-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-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |