From 4873c79487937794dde949506edacf8e5372b9f0 Mon Sep 17 00:00:00 2001 From: chengyemao Date: Thu, 27 Feb 2003 04:08:20 +0000 Subject: Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in calling GetUserName --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5d872e5..14286db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-02-26 Chengye Mao + + * 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 * generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak when -- cgit v0.12