[Patches] [ python-Patches-784825 ] fix obscure crash in descriptor handling

SourceForge.net noreply at sourceforge.net
Mon Aug 11 11:38:48 EDT 2003


Patches item #784825, was opened at 2003-08-07 16:32
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=784825&group_id=5470

Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix obscure crash in descriptor handling

Initial Comment:
Ages & ages back twouters pointed out a potential hole in 
PyObject_GenericGetAttr.  I've come up with a testcase & a 
fix, attached to this report.

Are there any other bits of code shaped like 
PyObject_GenericGetAttr?  I've fixed type_getattro.


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

>Comment By: Michael Hudson (mwh)
Date: 2003-08-11 18:38

Message:
Logged In: YES 
user_id=6656

upload new patch that has a test that doesn't call gc.get_referrers 
on the integer 1 and thus create uncollectable cycles (or 
something like that, anyway).

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

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



More information about the Patches mailing list