]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39877: Fix take_gil() for daemon threads (GH-19054)
authorVictor Stinner <vstinner@python.org>
Wed, 18 Mar 2020 02:04:33 +0000 (03:04 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 02:04:33 +0000 (03:04 +0100)
commit29356e03d4f8800b04f799efe7a10e3ce8b16f61
treeaab7efc54ee7ee204ca32aa73ec9c2134c0a41f3
parent23ef89db7ae46d160650263cc80479c2ed6693fb
bpo-39877: Fix take_gil() for daemon threads (GH-19054)

bpo-39877, bpo-39984: If the thread must exit, don't access tstate to
prevent a potential crash: tstate memory has been freed.
Python/ceval_gil.h