[New-bugs-announce] [issue18514] Unreachable Py_DECREF() in ctypes's PyCData_FromBaseObj()
Christian Heimes
report at bugs.python.org
Sat Jul 20 14:40:37 CEST 2013
New submission from Christian Heimes:
http://hg.python.org/cpython/file/a65856044ad4/Modules/_ctypes/_ctypes.c#l2673
Coverity analysis:
2672 } else { /* copy contents of adr */
2673 if (-1 == PyCData_MallocBuffer(cmem, dict)) {
2674 return NULL;
CID 715381: Structurally dead code (UNREACHABLE)unreachable: This code cannot be reached: "do {
PyObject *_py_decref...".
2675 Py_DECREF(cmem);
2676 }
----------
components: Extension Modules
files: frombaseobj.patch
keywords: patch
messages: 193406
nosy: christian.heimes
priority: low
severity: normal
stage: needs patch
status: open
title: Unreachable Py_DECREF() in ctypes's PyCData_FromBaseObj()
type: resource usage
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30989/frombaseobj.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18514>
_______________________________________
More information about the New-bugs-announce
mailing list