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

SourceForge.net noreply at sourceforge.net
Thu Jun 17 06:15:16 EDT 2004


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

Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dima Dorfman (ddorfman)
Assigned to: Nobody/Anonymous (nobody)
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.

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

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