Tk Source Code

View Ticket
Login
Ticket UUID: c9535cd7ce2e76cd18e32d342b90335176bf8726
Title: uninit value in test textImage-2.1
Type: Bug Version: 8.5.18
Submitter: dgp Created on: 2015-02-06 15:55:23
Subsystem: 18. [text] Assigned To: dgp
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2015-02-06 16:03:50
Resolution: Fixed Closed By: dgp
    Closed on: 2015-02-06 16:03:50
Description:
valgrind reports that test textImage-2.1 suffers from:

==11997== Conditional jump or move depends on uninitialised value(s)
==11997==    at 0x4B6174: TkTextGetIndexFromObj (tkTextIndex.c:250)
==11997==    by 0x49D482: TextWidgetObjCmd (tkText.c:1063)
==11997==    by 0x51C420: TclEvalObjvInternal (tclBasic.c:3727)
==11997==    by 0x583194: TclExecuteByteCode (tclExecute.c:2414)
==11997==    by 0x58123B: TclCompEvalObj (tclExecute.c:1535)
==11997==    by 0x51E9BE: TclEvalObjEx (tclBasic.c:5296)
==11997==    by 0x5DC79A: Tcl_UplevelObjCmd (tclProc.c:945)
==11997==    by 0x51C420: TclEvalObjvInternal (tclBasic.c:3727)
User Comments: dgp added on 2015-02-06 16:03:50:
Fixed for 8.5.18 and 8.6.4.