]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Harden _ssl initialisation (#105599) (#105651)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 19:25:36 +0000 (21:25 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 19:25:36 +0000 (21:25 +0200)
commit87e493b11a6791777303ba6eda4027df99b7ffcb
tree40a9a0c9ac9b7d4f2b51ab9b6ca35cc5bf627c47
parentf207b346d4ce4d4cd896e63e246ef4d18323ebeb
[3.11] gh-105375: Harden _ssl initialisation (#105599) (#105651)

(cherry picked from commit 01f4230460454d4a849a5ba93320142c1a0c93a8)

Add proper error handling to prevent reference leaks and overwritten
exceptions.

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