]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Mon, 20 Dec 2021 17:18:13 +0000 (17:18 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Dec 2021 17:18:13 +0000 (17:18 +0000)
commite5cf31d3c2b30d12f238c6ab26d15855eefb2a8a
treed27aa6f645b4333a4db94d4d7590c522cd5b1443
parent8e4564d14ae0fc97cfea4de9e271468d4c28a6fe
[3.9] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177) (#30215)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>.
(cherry picked from commit e9898bf153d26059261ffef11f7643ae991e2a4c)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2021-12-18-02-37-07.bpo-46110.B6hAfu.rst [new file with mode: 0644]
Parser/pegen/parse.c
Tools/peg_generator/pegen/c_generator.py