X Tutup
Skip to content

[3.5] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992)#1993

Merged
serhiy-storchaka merged 1 commit intopython:3.5from
njsmith:backport-65ece7c-3.5
Jun 8, 2017
Merged

[3.5] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992)#1993
serhiy-storchaka merged 1 commit intopython:3.5from
njsmith:backport-65ece7c-3.5

Conversation

@njsmith
Copy link
Copy Markdown
Contributor

@njsmith njsmith commented Jun 8, 2017

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

X Tutup