diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2017-06-07 23:30:43 -0700 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-06-08 09:30:43 +0300 |
commit | 65ece7ca2366308fa91a39a8dfa255e6bdce3cca (patch) | |
tree | b3035bf1d4c922cc27d30340512b7b5942de768d /Python | |
parent | 0ecdc525146ecec9d1549ebf59404c769637a512 (diff) | |
download | cpython-git-65ece7ca2366308fa91a39a8dfa255e6bdce3cca.tar.gz |
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.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions