diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2017-06-08 06:30:43 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-06-08 06:30:43 (GMT) |
commit | 65ece7ca2366308fa91a39a8dfa255e6bdce3cca (patch) | |
tree | b3035bf1d4c922cc27d30340512b7b5942de768d /Lib/codeop.py | |
parent | 0ecdc525146ecec9d1549ebf59404c769637a512 (diff) | |
download | cpython-65ece7ca2366308fa91a39a8dfa255e6bdce3cca.zip cpython-65ece7ca2366308fa91a39a8dfa255e6bdce3cca.tar.gz cpython-65ece7ca2366308fa91a39a8dfa255e6bdce3cca.tar.bz2 |
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 'Lib/codeop.py')
0 files changed, 0 insertions, 0 deletions