GH-97002: Prevent `_PyInterpreterFrame`s from backing more than one `PyFrameObject` by brandtbucher · Pull Request #97996 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions Lib/test/test_frame.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix an issue where several frame objects could be backed by the same
interpreter frame, possibly leading to corrupted memory and hard crashes of
the interpreter.
29 changes: 23 additions & 6 deletions Python/frame.c