cpython/Misc/NEWS.d/next/Core and Builtins/2025-12-27-23-57-43.gh-issue-143228.m3EF9E.rst

4 lines
291 B
ReStructuredText

Fix use-after-free in perf trampoline when toggling profiling while
threads are running or during interpreter finalization with daemon threads
active. The fix uses reference counting to ensure trampolines are not freed
while any code object could still reference them. Pach by Pablo Galindo