Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

Based on patch by Victor Stinner.

@mention-bot
Copy link

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loewis, @akuchling and @theller to be potential reviewers.

@vstinnervstinner 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-storchakaserhiy-storchaka merged commit f7eae0a into python:masterJun 28, 2017
@serhiy-storchakaserhiy-storchaka deleted the reject-null-wchars branch June 28, 2017 05:30
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
Copy link

GH-2462 is a backport of this pull request to the 3.6 branch.

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
Copy link

GH-2463 is a backport of this pull request to the 3.5 branch.

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)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bugAn unexpected behavior, bug, or errortype-securityA security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@serhiy-storchaka@mention-bot@bedevere-bot@the-knights-who-say-ni