GH-97002: Prevent `_PyInterpreterFrame`s from backing more than one `… · python/cpython@21a2d9f · GitHub
Skip to content

Commit 21a2d9f

Browse files
authored
GH-97002: Prevent _PyInterpreterFrames from backing more than one PyFrameObject (GH-97996)
1 parent cbf0afd commit 21a2d9f

3 files changed

Lines changed: 91 additions & 6 deletions

File tree

Lib/test/test_frame.py

Lines changed: 65 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix an issue where several frame objects could be backed by the same
2+
interpreter frame, possibly leading to corrupted memory and hard crashes of
3+
the interpreter.

Python/frame.c

Lines changed: 23 additions & 6 deletions

0 commit comments

Comments
 (0)