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 ned.deily
Recipients BT123, ned.deily, serhiy.storchaka
Date 2018-03-04.23:43:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> For any program which receive external file, to check the input file is necessary to do, isn't it?

Yes and no. is doing checking and can raise various exceptions.  So a well-designed program has to be prepared to handle exceptions when calling  The suggested fix would provide a more specific error message and exception, rather than a division by zero one, but the net effect to the caller of is the same.

> And program error lead to security bug, that's not right?

No. Just because a program can terminate due to an uncaught exception is not by itself considered a security error.  See for a discussion. In particular, "The general rule is any attack worth reporting via the security address must allow an attacker to affect the confidentiality, integrity and availability of the Python application or its system for which the attacker does not already have the capability."  As things stand now, if an application is vulnerable to a denial-of-service attack due to a faulty wav file, it is a failure in that application to be handling possible exceptions from, not a security issue in Python itself.
Date User Action Args
2018-03-04 23:43:55ned.deilysetrecipients: + ned.deily, serhiy.storchaka, BT123
2018-03-04 23:43:55ned.deilysetmessageid: <>
2018-03-04 23:43:55ned.deilylinkissue32056 messages
2018-03-04 23:43:55ned.deilycreate