homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:50christian.heimessetrecipients: + christian.heimes, brett.cannon, georg.brandl
2012年09月09日 22:50:50christian.heimessetmessageid: <1347231050.54.0.0211027720618.issue15895@psf.upfronthosting.co.za>
2012年09月09日 22:50:50christian.heimeslinkissue15895 messages
2012年09月09日 22:50:49christian.heimescreate

AltStyle によって変換されたページ (->オリジナル) /