Message170142
| 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 |
<1347231050.54.0.0211027720618.issue15895@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|