]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-110052: Fix faulthandler for freed tstate (#110069) (#110072)
authorVictor Stinner <vstinner@python.org>
Fri, 29 Sep 2023 02:43:28 +0000 (04:43 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 02:43:28 +0000 (02:43 +0000)
commit615d7fc34a2b584ba39980db6ed99c90a90a445c
treeb90f91d38e916635edb18bdc6d9d072934199f0b
parentefe83ad2762e3ea8b396b44947033445c9b31d04
[3.11] gh-110052: Fix faulthandler for freed tstate (#110069) (#110072)

gh-110052: Fix faulthandler for freed tstate (#110069)

faulthandler now detected freed interp and freed tstate, and no
longer dereference them.

Backport to 3.11: add pycore_pymem.h include to traceback.c.

(cherry picked from commit 2e37a38bcbfbe1357436e030538290e7d00b668d)
Modules/faulthandler.c
Python/traceback.c