[3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) by serhiy-storchaka · Pull Request #2463 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
Based on patch by Victor Stinner.
Add private C API function _PyUnicode_AsUnicode() which is similar to
PyUnicode_AsUnicode(), but checks for null characters..
(cherry picked from commit f7eae0a)
… strings. (pythonGH-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.. (cherry picked from commit f7eae0a)
serhiy-storchaka
changed the title
[3.5] [security] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302)
[3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters