[Python-bugs-list] [ python-Bugs-807314 ] Crash if getvar of a non-existent Tcl variable

SourceForge.net noreply at sourceforge.net
Tue Sep 16 14:27:37 EDT 2003


Bugs item #807314, was opened at 2003-09-16 18:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=807314&group_id=5470

Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 7
Submitted By: David Ascher (david_ascher)
Assigned to: Martin v. Löwis (loewis)
Summary: Crash if getvar of a non-existent Tcl variable

Initial Comment:
In 2.3, the code:



    from Tkinter import *

    x = Tk()

    x.getvar('foobar')



will crash.  This is due to bad error checking in 

_tkinter.c, in the GetVar() code.



A possible patch is attached.



Making p7 because it's a crasher. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=807314&group_id=5470



More information about the Python-bugs-list mailing list