SIGN IN SIGN UP

bpo-30594: Fixed refcounting in newPySSLSocket (#1992)

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.
N
Nathaniel J. Smith committed
65ece7ca2366308fa91a39a8dfa255e6bdce3cca
Parent: 0ecdc52
Committed by Serhiy Storchaka <storchaka@gmail.com> on 6/8/2017, 6:30:43 AM