Artifacts Associated With Ticket 3386385
Ticket change [68bc53eddf] (rid 103117) by msofer on 2011-08-04 21:08:59:
- assignee initialized to: "ferrieux"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Sez valgrind on format.test: Conditional jump or move depends on uninitialised value(s) 0: vfprintf (vfprintf.c:1613) 1: vsprintf (iovsprintf.c:43) 2: sprintf (sprintf.c:34) 3: Tcl_RepresentationCmd (tclObj.c:4497) 4: TclNREvalObjv (tclBasic.c:4272) 5: TEBCresume (tclExecute.c:2789) 6: TclNRRunCallbacks (tclBasic.c:4314) 7: TclEvalObjEx (tclBasic.c:5885) 8: Tcl_EvalObjEx (tclBasic.c:5866) 9: Tcl_RecordAndEvalObj (tclHistory.c:190) -- format.test: ==5905== Conditional jump or move depends on uninitialised value(s)
- foundin initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "10. Objects"
- title initialized to:
Tcl_RepresentationCmd: sprintf dislikes unitialized ptrs
- type initialized to: "Bug"
Ticket change [8eccc51ac7] (rid 120173) by ferrieux on 2011-08-06 01:08:47:
- closedate changed to: "2011-08-05T18:08:47"
- closer changed to: "ferrieux"
- icomment:
Though it is technically correct that not both ptr1 and ptr2 in the twoPtrValue of a Tcl_Obj are meaningful in all types, it is out of Tcl_RepresentationCmd's mission to keep track of that (since by definition it could be used on third-party types provided by extensions), hence perfectly valid for it to display a random hex value for the unused slots. Hence closing as Won't Fix (though I'd welcome a "valgrind pragma" -- if such beasts exist -- to silence the false alarm).
- login: "ferrieux"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "ferrieux"