[issue3304] invalid call to PyMem_Free() in fileio_init()

STINNER Victor report at bugs.python.org
Sun Jul 6 18:30:22 CEST 2008


New submission from STINNER Victor <haypo at users.sourceforge.net>:

fileio_init() calls PyMem_Free(name); whereas name comes from 
PyArg_ParseTupleAndKeywords().

Attached patch removes this invalid call.

The bug may also affect Python3.0.

----------
components: Library (Lib)
files: fileio_pymem_free.patch
keywords: patch
messages: 69338
nosy: haypo
severity: normal
status: open
title: invalid call to PyMem_Free() in fileio_init()
versions: Python 2.6
Added file: http://bugs.python.org/file10833/fileio_pymem_free.patch

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


More information about the Python-bugs-list mailing list