bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser#30177
bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser#30177pablogsal merged 3 commits intopython:mainfrom
Conversation
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
|
thanks for the PR! |
|
Unfortunately, I am not still convinced about this since 1700 frames are reached easily with 60 or so parentheses while currently the maximum allowed parentheses is reached at 5560 frames. |
|
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit a050033f543db8fa9ed36ee81798fcbeb72f7116 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 5270ebc 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
Sorry @pablogsal, I had trouble checking out the |
|
Sorry, @pablogsal, I could not cleanly backport this to |
…e PEG parser (pythonGH-30177) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>. (cherry picked from commit e9898bf) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
GH-30214 is a backport of this pull request to the 3.10 branch. |
|
GH-30215 is a backport of this pull request to the 3.9 branch. |
… PEG parser (pythonGH-30177) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>. (cherry picked from commit e9898bf) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
…arser (pythonGH-30177) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
https://bugs.python.org/issue46110