Author christian.heimes
Recipients brett.cannon, christian.heimes, georg.brandl
Date 2012-09-09.22:50:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Python/pythonrun.c PyRun_SimpleFileExFlags() may leak a FILE pointer if closeit is False and maybe_pyc_file returns true. This happens when the filename ends with ".pyc" or ".pyc". In this case the file is opened a second time with fopen() a few lines lower and assigned to the same variable "fp". However "fp" is never closed.

The bug was found by Coverity as CID 719689.

Georg: I've set the priority to release blocker as a resource leak of a file pointer and therefore rare file descriptor is IMHO a severe issue.
Date User Action Args
2012-09-09 22:50:50christian.heimessetrecipients: + christian.heimes, brett.cannon, georg.brandl
2012-09-09 22:50:50christian.heimessetmessageid: <>
2012-09-09 22:50:50christian.heimeslinkissue15895 messages
2012-09-09 22:50:49christian.heimescreate