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-30594: Fixed refcounting in newPySSLSocket (GH-1992)#1993

Merged
serhiy-storchaka merged 1 commit into
python:3.5python/cpython:3.5from
njsmith:backport-65ece7c-3.5njsmith/cpython:backport-65ece7c-3.5Copy head branch name to clipboard
Jun 8, 2017
Merged

[3.5] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992)#1993
serhiy-storchaka merged 1 commit into
python:3.5python/cpython:3.5from
njsmith:backport-65ece7c-3.5njsmith/cpython:backport-65ece7c-3.5Copy head branch name to clipboard

Conversation

@njsmith

@njsmith njsmith commented Jun 8, 2017

Copy link
Copy Markdown
Contributor

If pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object had a spurious Py_DECREF called on it, eventually leading to segfaults.
(cherry picked from commit 65ece7c)

If pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object had a spurious Py_DECREF called on it, eventually leading to segfaults.
(cherry picked from commit 65ece7c)
@serhiy-storchaka serhiy-storchaka merged commit 54ba41e into python:3.5 Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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