This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author njs
Recipients alex, christian.heimes, dstufft, janssen, njs
Date 2017-06-08.06:13:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496902415.3.0.68832586927.issue30594@psf.upfronthosting.co.za>
In-reply-to
Content
If you pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object has a spurious Py_DECREF called on it, eventually leading to segfaults.

Demo attached.
History
Date User Action Args
2017-06-08 06:13:35njssetrecipients: + njs, janssen, christian.heimes, alex, dstufft
2017-06-08 06:13:35njssetmessageid: <1496902415.3.0.68832586927.issue30594@psf.upfronthosting.co.za>
2017-06-08 06:13:34njslinkissue30594 messages
2017-06-08 06:13:34njscreate