]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Harden _ssl initialisation (GH-105599) (#105642)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 10:26:52 +0000 (03:26 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 10:26:52 +0000 (10:26 +0000)
commit85a1a0983f7e7b6a5f35cf253d1edf5aee35795d
tree811ae88262f5ece321878d11f7654b95558219af
parentd3c69ed366fb6504bb1a02f7d7226b9f788b403a
[3.12] gh-105375: Harden _ssl initialisation (GH-105599) (#105642)

Add proper error handling to prevent reference leaks and overwritten
exceptions.
(cherry picked from commit 01f4230460454d4a849a5ba93320142c1a0c93a8)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Library/2023-06-09-22-16-46.gh-issue-105375.EgVJOP.rst [new file with mode: 0644]
Modules/_ssl.c