[Patches] [ python-Patches-974633 ] Parser/acceler.c: PyObject_MALLOC return is not checked

SourceForge.net noreply at sourceforge.net
Tue Jun 29 10:03:35 EDT 2004


Patches item #974633, was opened at 2004-06-17 06:15
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=974633&group_id=5470

Category: Parser/Compiler
>Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Dima Dorfman (ddorfman)
>Assigned to: A.M. Kuchling (akuchling)
Summary: Parser/acceler.c: PyObject_MALLOC return is not checked

Initial Comment:
fixstate in Parser/acceler.c: The first call to PyObject_MALLOC doesn't 
check for it returning NULL. The attached patch does the fprintf/exit 
combo just like another call to malloc later in the function.

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

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-06-29 10:03

Message:
Logged In: YES 
user_id=11375

Patch applied to CVS; thanks!


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

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



More information about the Patches mailing list