]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724...
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sun, 27 Jul 2025 15:30:25 +0000 (08:30 -0700)
committerGitHub <noreply@github.com>
Sun, 27 Jul 2025 15:30:25 +0000 (08:30 -0700)
commit4a37dd6cef1556c64c2665061b5e01bbd2bb3a82
treefe1b2ab18a4d03b3c4c07bf2671b97c6804b50d4
parent89f256ecd1ac7d5350e3319be07dfb71cf3327c9
[3.13] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724) (#137126)

Lock when the thread state is detached.
(cherry picked from commit e047a35b23c1aa69ab8d5da56f36319cec4d36b8) or really from the 3.14 backport fd565fdfc9c0001900d03d627e2fda83f1bcca90

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2025-05-26-10-52-27.gh-issue-134698.aJ1mZ1.rst [new file with mode: 0644]
Modules/_ssl.c
Modules/_ssl/debughelpers.c