Tk Source Code

View Ticket
Login
Ticket UUID: 2b6778efe8f2e11263cef80ebf72c095807af4a4
Title: uninit value in test spinbox-1.33
Type: Bug Version: 8.5.18
Submitter: dgp Created on: 2015-02-06 14:23:09
Subsystem: 17. [spinbox] Assigned To: dgp
Priority: 5 Medium Severity: Severe
Status: Closed Last Modified: 2015-02-06 15:39:37
Resolution: Fixed Closed By: dgp
    Closed on: 2015-02-06 15:39:37
Description:
Valgrind reports that test spinbox-1.33 suffers from:

==9897== Conditional jump or move depends on uninitialised value(s)
==9897==    at 0x441E7A: ConfigureEntry (tkEntry.c:1337)
==9897==    by 0x445A86: SpinboxWidgetObjCmd (tkEntry.c:3701)
==9897==    by 0x51C420: TclEvalObjvInternal (tclBasic.c:3727)
==9897==    by 0x583194: TclExecuteByteCode (tclExecute.c:2414)
==9897==    by 0x58123B: TclCompEvalObj (tclExecute.c:1535)
==9897==    by 0x51E9BE: TclEvalObjEx (tclBasic.c:5296)
==9897==    by 0x5DC79A: Tcl_UplevelObjCmd (tclProc.c:945)
==9897==    by 0x51C420: TclEvalObjvInternal (tclBasic.c:3727)
User Comments: dgp added on 2015-02-06 15:39:37:
Code failed to account for possibility that sscanf() could
raise an error.  Fix commits on the way.

dgp added on 2015-02-06 15:04:14:
Simplest trigger is:

spinbox .e -from -10