]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Mon, 20 Dec 2021 16:23:37 +0000 (16:23 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Dec 2021 16:23:37 +0000 (16:23 +0000)
commitdc73199a212a44553578eb4952631e5ba9e5f292
treea40a468b3678844400b6b78ebcd3b2529f4a4c5e
parent95948169d75bed3936284ea2225e83e07ec5fe20
[3.10] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177) (GH-30214)

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/parser.c
Parser/pegen.c
Tools/peg_generator/pegen/c_generator.py