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

SourceForge.net noreply at sourceforge.net
Thu Sep 18 14:01:46 EDT 2003


Bugs item #807314, was opened at 2003-09-16 20:27
Message generated for change (Comment added) made by loewis
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: David Ascher (david_ascher)
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. 

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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-18 20:01

Message:
Logged In: YES 
user_id=21627

The patch is fine; please apply (or reassign if you want me

to apply it).

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

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