[New-bugs-announce] [issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

Christian Heimes report at bugs.python.org
Fri Jul 26 16:52:26 CEST 2013


New submission from Christian Heimes:

2032            result = PyLong_FromLong(i_result);
CID 1058287 (#1 of 1): Dereference null return value (NULL_RETURNS)
34. dereference: Dereferencing a pointer that might be null "result" when calling "PyNumber_Add(PyObject *, PyObject *)". [show details]
2033            temp = PyNumber_Add(result, item);

----------
components: Interpreter Core
files: builtin_sum.patch
keywords: patch
messages: 193730
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: builtin_sum() doesn't check return value of PyLong_FromLong()
type: crash
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file31038/builtin_sum.patch

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


More information about the New-bugs-announce mailing list