]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-127705: better double free message. (GH-130785)
authorMark Shannon <mark@hotpy.org>
Wed, 5 Mar 2025 14:00:42 +0000 (14:00 +0000)
committerGitHub <noreply@github.com>
Wed, 5 Mar 2025 14:00:42 +0000 (14:00 +0000)
commit78d50e91ff31bc7fd0ac877cf59ee083e94d0915
tree2cc8ea2a2767bc283816829e3f0ea28c4046367b
parentf33d21e24fdb05da7512c2a203467c3ffd0e7713
GH-127705: better double free message. (GH-130785)

* Add location information when accessing already closed stackref

* Add #def option to track closed stackrefs to provide precise information for use after free and double frees.
Include/internal/pycore_interp.h
Include/internal/pycore_stackref.h
Objects/object.c
Python/pystate.c
Python/stackrefs.c