diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-06-11 19:25:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 19:25:36 (GMT) |
commit | 87e493b11a6791777303ba6eda4027df99b7ffcb (patch) | |
tree | 40a9a0c9ac9b7d4f2b51ab9b6ca35cc5bf627c47 /Misc | |
parent | f207b346d4ce4d4cd896e63e246ef4d18323ebeb (diff) | |
download | cpython-87e493b11a6791777303ba6eda4027df99b7ffcb.zip cpython-87e493b11a6791777303ba6eda4027df99b7ffcb.tar.gz cpython-87e493b11a6791777303ba6eda4027df99b7ffcb.tar.bz2 |
[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>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-06-09-22-16-46.gh-issue-105375.EgVJOP.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-06-09-22-16-46.gh-issue-105375.EgVJOP.rst b/Misc/NEWS.d/next/Library/2023-06-09-22-16-46.gh-issue-105375.EgVJOP.rst new file mode 100644 index 0000000..49f7df6 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-06-09-22-16-46.gh-issue-105375.EgVJOP.rst @@ -0,0 +1,2 @@ +Fix bugs in :mod:`!_ssl` initialisation which could lead to leaked +references and overwritten exceptions. |