SIGN IN SIGN UP

[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.
S
Serhiy Storchaka committed
f7eae0adfcd4c50034281b2c69f461b43b68db84
Parent: 592eda1
Committed by GitHub <noreply@github.com> on 6/28/2017, 5:30:06 AM