Message170142
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:50 | christian.heimes | set | recipients:
+ christian.heimes, brett.cannon, georg.brandl |
2012-09-09 22:50:50 | christian.heimes | set | messageid: <1347231050.54.0.0211027720618.issue15895@psf.upfronthosting.co.za> |
2012-09-09 22:50:50 | christian.heimes | link | issue15895 messages |
2012-09-09 22:50:49 | christian.heimes | create | |
|