valgrind reports uninitialized memory used in tcltest
Closed / Fixed943258f3613e855ab8a45998e960c58c8cf5d2e2Created 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-16 10:43:41
==328413== 4 errors in context 1 of 2:
==328413== Conditional jump or move depends on uninitialised value(s)
==328413== at 0x48A25F0: Tcl_SetCommandInfoFromToken (tclBasic.c:3369)
==328413== by 0x48A2338: Tcl_SetCommandInfo (tclBasic.c:3266)
==328413== by 0x403E56: TestcmdinfoObjCmd (tclTest.c:1222)
==328413== by 0x48A3DA3: Dispatch (tclBasic.c:4629)
==328413== by 0x48A3E07: TclNRRunCallbacks (tclBasic.c:4645)
==328413== by 0x48A36D5: Tcl_EvalObjv (tclBasic.c:4388)
==328413== by 0x48A5E04: TclEvalEx (tclBasic.c:5484)
==328413== by 0x49DADA4: Tcl_FSEvalFileEx (tclIOUtil.c:1783)
==328413== by 0x49EC4CD: Tcl_MainEx (tclMain.c:407)
==328413== by 0x401344: main (tclAppInit.c:94)
==328413==
==328413==
==328413== 4 errors in context 2 of 2:
==328413== Conditional jump or move depends on uninitialised value(s)
==328413== at 0x48A25D8: Tcl_SetCommandInfoFromToken (tclBasic.c:3369)
==328413== by 0x48A2338: Tcl_SetCommandInfo (tclBasic.c:3266)
==328413== by 0x403E56: TestcmdinfoObjCmd (tclTest.c:1222)
==328413== by 0x48A3DA3: Dispatch (tclBasic.c:4629)
==328413== by 0x48A3E07: TclNRRunCallbacks (tclBasic.c:4645)
==328413== by 0x48A36D5: Tcl_EvalObjv (tclBasic.c:4388)
==328413== by 0x48A5E04: TclEvalEx (tclBasic.c:5484)
==328413== by 0x49DADA4: Tcl_FSEvalFileEx (tclIOUtil.c:1783)
==328413== by 0x49EC4CD: Tcl_MainEx (tclMain.c:407)
==328413== by 0x401344: main (tclAppInit.c:94)
Referenced by3
00e627ca5cMerge [9a6f7c008adb6219]: Bug [943258f361] - valgrind - cmdInfo test. check-in2024-08-20 20:42:399a6f7c008aMerge 8.7 - Bug [943258f361] - valgrind - cmdInfo test check-in2023-09-16 10:59:2622d2c460adBug [943258f361] - valgrind - cmdInfo test uninitialized memory access check-in2023-09-16 10:52:34
apnadkarniplain2023-09-16 11:01:36
Fixed in [9a6f7c008a]
Log in (anonymous is fine) to add a comment.