Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302)#2463

Merged
serhiy-storchaka merged 6 commits intopython:3.5python/cpython:3.5from
serhiy-storchaka:backport-f7eae0a-3.5serhiy-storchaka/cpython:backport-f7eae0a-3.5Copy head branch name to clipboard
Jun 28, 2017
Merged

[3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302)#2463
serhiy-storchaka merged 6 commits intopython:3.5python/cpython:3.5from
serhiy-storchaka:backport-f7eae0a-3.5serhiy-storchaka/cpython:backport-f7eae0a-3.5Copy head branch name to clipboard

Conversation

@serhiy-storchaka
Copy link
Member

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 serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jun 28, 2017
@serhiy-storchaka 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) Jun 28, 2017
@serhiy-storchaka serhiy-storchaka merged commit 54ba940 into python:3.5 Jun 28, 2017
@serhiy-storchaka serhiy-storchaka deleted the backport-f7eae0a-3.5 branch June 28, 2017 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.