summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-27 13:03:14 (GMT)
committerGitHub <noreply@github.com>2017-06-27 13:03:14 (GMT)
commite613e6add5f07ff6aad5802924596b631b707d2a (patch)
tree8e3a53cf8a0851c17a2dc9bcbd975c2bec5ff846 /Misc/NEWS
parent65474b9d7a230943d4d3f1d7d51f77bb141240f0 (diff)
downloadcpython-e613e6add5f07ff6aad5802924596b631b707d2a.zip
cpython-e613e6add5f07ff6aad5802924596b631b707d2a.tar.gz
cpython-e613e6add5f07ff6aad5802924596b631b707d2a.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 83eb530..232fb754 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1245,6 +1245,10 @@ Windows
C API
-----
+- bpo-30708: PyUnicode_AsWideCharString() now raises a ValueError if the
+ second argument is NULL and the wchar_t\* string contains null
+ characters.
+
- bpo-16500: Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(),
PyOS_AfterFork_Parent() and PyOS_AfterFork_Child().