[issue43108] test_curses is leaking references

STINNER Victor report at bugs.python.org
Mon Feb 15 15:55:52 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

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 at 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

----------
nosy: +vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43108>
_______________________________________


More information about the Python-bugs-list mailing list