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 vstinner
Recipients serhiy.storchaka, vstinner, wjq-security, xtreak
Date 2019-03-26.12:51:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> _testcapimodule.c is mostly imported as _testcapi in tests. I am not sure this is a security issue.

The function triggers a memory overflow on purpose. Handling memory allocation failure is the least of your problem if you call this function :-)

The whole module is designed to testing purpose only. "_" prefix in "_testapi" means that it must not be used. It's not documented on purpose.

Attached PR fix the bug.
Date User Action Args
2019-03-26 12:51:47vstinnersetrecipients: + vstinner, serhiy.storchaka, xtreak, wjq-security
2019-03-26 12:51:47vstinnersetmessageid: <>
2019-03-26 12:51:47vstinnerlinkissue36436 messages
2019-03-26 12:51:47vstinnercreate