valgrind error reported in tclParse.c
Closed / Fixed1732414fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-06-06 22:17:49
Running compile.test (haven't located the test case, yet, will update the report when I do), I get the following valgrind trouble report: ==7494== Conditional jump or move depends on uninitialised value(s) ==7494== at 0x40CCE20: Tcl_ParseCommand (tclParse.c:466) ==7494== by 0x407B0DA: TclCompileScript (tclCompile.c:1154) ==7494== by 0x407A60D: TclSetByteCodeFromAny (tclCompile.c:493) ==7494== by 0x407A7FC: SetByteCodeFromAny (tclCompile.c:588) ==7494== by 0x408D91F: TclCompEvalObj (tclExecute.c:1151) ==7494== by 0x4045784: TclEvalObjEx (tclBasic.c:4637) ==7494== by 0x4050D95: Tcl_IfObjCmd (tclCmdIL.c:244) ==7494== by 0x404416E: TclEvalObjvInternal (tclBasic.c:3617)
kennykbplain2007-06-07 05:20:19
Logged In: YES user_id=99768 Originator: YES The error in question arises in test cases compile-16.24.0 and compile-16.24.1
msoferplain2007-06-07 06:08:09
File Added - 232033: 1732414.patch Logged In: YES user_id=148712 Originator: NO Problem is if TclFindElement returns != TCL_OK: in that case elemStart is not defined. Attached patch (committed) solves the issue. File Added: 1732414.patch
Log in (anonymous is fine) to add a comment.
Attachments:
- 1732414.patch [download] added by msofer on 2007-06-07 06:08:05. [details]