This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Parser/acceler.c: PyObject_MALLOC return is not checked
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, ddorfman
Priority: normal Keywords: patch

Created on 2004-06-17 10:15 by ddorfman, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
acceler.diff ddorfman, 2004-06-17 10:15 Patch to acceler.c
Messages (2)
msg46188 - (view) Author: Dima Dorfman (ddorfman) Date: 2004-06-17 10:15
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.
msg46189 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-06-29 14:03
Logged In: YES 
user_id=11375

Patch applied to CVS; thanks!
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40410
2004-06-17 10:15:16ddorfmancreate