]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134679: Fix assertion failure in QSBR (gh-134811) (gh-134814)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 27 May 2025 20:46:02 +0000 (22:46 +0200)
committerGitHub <noreply@github.com>
Tue, 27 May 2025 20:46:02 +0000 (20:46 +0000)
commit3681e3a83129c8540b916bf017619860181c0763
tree25835afb9993ea42644d9a4af5ce040de61e987e
parent6c74700dd87e1447c34695a96a426455457c7469
[3.14] gh-134679: Fix assertion failure in QSBR (gh-134811) (gh-134814)

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`.
(cherry picked from commit a4d37f88b66bc9a66b2ab277aa66a2a6b20821fa)

Co-authored-by: Sam Gross <colesbury@gmail.com>
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