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 shihai1991
Recipients petr.viktorin, shihai1991, vstinner
Date 2020-12-13.16:00:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607875248.45.0.827335084085.issue42625@roundup.psfhosted.org>
In-reply-to
Content
> When does this actually happen? Is there a common situation where you'd mistakenly pass NULL to PyState_AddModule?

If created mod haven't been checked will have this risk. PyState_AddModule
is a exposing C API, we should make sure that calling API is in a safe way(not raising a segmentation fault). :)
History
Date User Action Args
2020-12-13 16:00:48shihai1991setrecipients: + shihai1991, vstinner, petr.viktorin
2020-12-13 16:00:48shihai1991setmessageid: <1607875248.45.0.827335084085.issue42625@roundup.psfhosted.org>
2020-12-13 16:00:48shihai1991linkissue42625 messages
2020-12-13 16:00:48shihai1991create