commit | 65ece7ca2366308fa91a39a8dfa255e6bdce3cca | [log] [tgz] |
---|---|---|
author | Nathaniel J. Smith <njs@pobox.com> | Wed Jun 07 23:30:43 2017 -0700 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Thu Jun 08 09:30:43 2017 +0300 |
tree | b3035bf1d4c922cc27d30340512b7b5942de768d | |
parent | 0ecdc525146ecec9d1549ebf59404c769637a512 [diff] |
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.