[issue24734] Dereferencing a null returning value

Pankaj Sharma report at bugs.python.org
Mon Jul 27 12:54:51 CEST 2015


New submission from Pankaj Sharma:

Hi,
there is an issue reported for "dereferencing a null return by function "PyString_FromStringAndSize()" file:Python-2.7.10/Python/compile.c .so there should be check for NULL before dereferencing in function compiler_nameop().
Please review attached patch.

Thanks!

----------
components: Interpreter Core, Library (Lib)
files: Python-2.7.10_compile.patch
keywords: patch
messages: 247459
nosy: benjamin.peterson, pankaj.s01
priority: normal
severity: normal
status: open
title: Dereferencing a null returning value
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file40036/Python-2.7.10_compile.patch

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


More information about the Python-bugs-list mailing list