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 into
Conversation
isidentical
left a comment
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
|
thanks for the PR! |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
|
🤖 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. |
Sorry, something went wrong.
|
🤖 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. |
Sorry, something went wrong.
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, something went wrong.
|
Sorry @pablogsal, I had trouble checking out the |
Sorry, something went wrong.
|
Sorry, @pablogsal, I could not cleanly backport this to |
Sorry, something went wrong.
…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>
… 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