-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser #30177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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