◐ Shell
clean mode source ↗

[security] bpo-13617: Reject embedded null characters in wchar* strings. by serhiy-storchaka · Pull Request #2302 · python/cpython

@serhiy-storchaka

Based on patch by Victor Stinner.

@mention-bot

Original patch by Victor Stinner.

@vstinner vstinner changed the title bpo-13617: Reject embedded null characters in wchar* strings. [security] bpo-13617: Reject embedded null characters in wchar* strings.

Jun 28, 2017

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request

Jun 28, 2017
… 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)

@bedevere-bot

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request

Jun 28, 2017
… 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)

@bedevere-bot

serhiy-storchaka added a commit that referenced this pull request

Jun 28, 2017
…H-2302) (#2462)

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 added a commit that referenced this pull request

Jun 28, 2017
…H-2302) (#2463)

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)

@vifon vifon mentioned this pull request

Dec 16, 2017