[New-bugs-announce] [issue4466] The return value of PyFile_FromFile is not checked for NULL

Brian Szuter report at bugs.python.org
Sat Nov 29 18:40:45 CET 2008


New submission from Brian Szuter <Brian.Szuter at gmail.com>:

Python-2.5.2/Modules/posixmodule.c(posix_tmpfile)
Line 6841

The return value of PyFile_FromFile is not checked for NULL

See the following where it is checked:
tokenizer.c(fp_setreadl) 429
fileobject.c(PyFile_FromString) 300
posixmodule.c(posix_popen) 5323

----------
messages: 76611
nosy: CWRU_Researcher1
severity: normal
status: open
title: The return value of PyFile_FromFile is not checked for NULL

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


More information about the New-bugs-announce mailing list