[New-bugs-announce] [issue18552] obj2ast_object() doesn't check return value of PyArena_AddPyObject()

Christian Heimes report at bugs.python.org
Wed Jul 24 23:22:19 CEST 2013


New submission from Christian Heimes:

CID 1046712 (#1 of 1): Unchecked return value (CHECKED_RETURN)
3. check_return: Calling function "PyArena_AddPyObject(PyArena *, PyObject *)" without checking return value (as is done elsewhere 5 out of 6 times).
4. unchecked_value: No check of the return value of "PyArena_AddPyObject(arena, obj)".
 708        PyArena_AddPyObject(arena, obj);

----------
files: asdl.patch
keywords: patch
messages: 193673
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: obj2ast_object() doesn't check return value of PyArena_AddPyObject()
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file31031/asdl.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18552>
_______________________________________


More information about the New-bugs-announce mailing list