[Python-checkins] [python/cpython] e613e6: bpo-30708: Check for null characters in PyUnicode_...
GitHub
noreply at github.com
Tue Jun 27 09:03:15 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: e613e6add5f07ff6aad5802924596b631b707d2a
https://github.com/python/cpython/commit/e613e6add5f07ff6aad5802924596b631b707d2a
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M Doc/c-api/unicode.rst
M Doc/whatsnew/3.7.rst
M Lib/ctypes/test/test_slicing.py
M Misc/NEWS
M Modules/_io/winconsoleio.c
M Objects/unicodeobject.c
Log Message:
-----------
bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (#2285)
Raise a ValueError if the second argument is NULL and the wchar_t\*
string contains null characters.
More information about the Python-checkins
mailing list