]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134679: Fix assertion failure in QSBR (gh-134811)
authorSam Gross <colesbury@gmail.com>
Tue, 27 May 2025 20:21:16 +0000 (16:21 -0400)
committerGitHub <noreply@github.com>
Tue, 27 May 2025 20:21:16 +0000 (16:21 -0400)
commita4d37f88b66bc9a66b2ab277aa66a2a6b20821fa
tree25fc72e9f04b5fc4aa2fcba7f3e071e6b2282c45
parent967f361993c9c97eb3ff3076a409b78ea32938df
gh-134679: Fix assertion failure in QSBR (gh-134811)

This is the same underlying bug as gh-130519. The destructor may call
arbitrary code, changing the `tstate->qsbr pointer` and invalidating the
old `struct _qsbr_thread_state`.
Misc/NEWS.d/next/Core_and_Builtins/2025-05-27-18-59-54.gh-issue-134679.FWPBu6.rst [new file with mode: 0644]
Objects/obmalloc.c