Issue 974633: Parser/acceler.c: PyObject_MALLOC return is not checked (original) (raw)

Issue974633

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:04 admin set github: 40410
2004-06-17 10:15:16 ddorfman create