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 miss-islington, pablogsal, serhiy.storchaka, vstinner
Date 2021-02-15.20:55:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613422552.19.0.0706023289133.issue43108@roundup.psfhosted.org>
In-reply-to
Content
The funny part is that the bug was there for 4 years. It's good that Serhiy added new tests to allow to catch this old bug!

commit f7eae0adfcd4c50034281b2c69f461b43b68db84
Author: Serhiy Storchaka <storchaka@gmail.com>
Date:   Wed Jun 28 08:30:06 2017 +0300

    [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302)
    
    Based on patch by Victor Stinner.
    
    Add private C API function _PyUnicode_AsUnicode() which is similar to
    PyUnicode_AsUnicode(), but checks for null characters.

It wasn't me! Ok, maybejust a little bit :-D
History
Date User Action Args
2021-02-15 20:55:52vstinnersetrecipients: + vstinner, serhiy.storchaka, pablogsal, miss-islington
2021-02-15 20:55:52vstinnersetmessageid: <1613422552.19.0.0706023289133.issue43108@roundup.psfhosted.org>
2021-02-15 20:55:52vstinnerlinkissue43108 messages
2021-02-15 20:55:52vstinnercreate