[3.11] GH-97002: Prevent _PyInterpreterFrames from backing more than … · python/cpython@d0ab10f · GitHub
Skip to content

Commit d0ab10f

Browse files
miss-islingtonpablogsal
authored andcommitted
[3.11] GH-97002: Prevent _PyInterpreterFrames from backing more than one PyFrameObject (GH-98002)
(cherry picked from commit 21a2d9f)
1 parent 154b3cd commit d0ab10f

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)