[issue18555] type_set_bases() doesn't check return value of PyArg_UnpackTuple()

Christian Heimes report at bugs.python.org
Thu Jul 25 18:50:40 CEST 2013


New submission from Christian Heimes:

http://hg.python.org/cpython/file/be5f1f0bea09/Objects/typeobject.c#l554

CID 486265 (#1 of 1): Unchecked return value (CHECKED_RETURN)
19. check_return: Calling function "PyArg_UnpackTuple(PyObject *, char const *, Py_ssize_t, Py_ssize_t, ...)" without checking return value (as is done elsewhere 64 out of 65 times).
            PyArg_UnpackTuple(PyList_GET_ITEM(temp, i),
                              "", 2, 2, &cls, &mro);

----------
components: Interpreter Core
messages: 193702
nosy: christian.heimes
priority: normal
severity: normal
stage: needs patch
status: open
title: type_set_bases() doesn't check return value of  PyArg_UnpackTuple()
type: behavior
versions: Python 3.3, Python 3.4

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


More information about the Python-bugs-list mailing list