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

SourceForge.net noreply at sourceforge.net
Mon Sep 22 14:56:01 EDT 2003


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

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

>Comment By: David Ascher (david_ascher)
Date: 2003-09-22 18:56

Message:
Logged In: YES 
user_id=6114

Sorry, I'm afraid I'll have no time to apply before 2.3.1. -- if 

you do, please apply it.

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-09-18 18: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