SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 132 Python

bpo-11105: Do not crash when compiling recursive ASTs (GH-20594)

When compiling an AST object with a direct / indirect reference
cycles, on the conversion phase because of exceeding amount of
calls, a segfault was raised. This patch adds recursion guards to
places for preventing user inputs to not to crash AST but instead
raise a RecursionError.
B
Batuhan Taskaya committed
f3491242e41933aa9529add7102edb68b80a25e9
Parent: f461a7f
Committed by GitHub <noreply@github.com> on 6/3/2021, 8:01:02 PM