You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A long string in ast.parse() leads to a segfault #4857
Nice, this seems like a variation of #4862. Basically we're creating a deeply nested AST here since the rhs of every BinOp will be another BinOp so it fails while trying to recurse into this.
Both these issues will most likely be solved by the same solution: checks while recursing deeply during the compilation phase (I'm guessing the AST traversal is the cause here but I'd need to check to make sure).
Thanks a lot for reporting and feel free to re-open if you disagree.
Activity
DimitrisJim commentedon Apr 6, 2023
Nice, this seems like a variation of #4862. Basically we're creating a deeply nested AST here since the
rhsof everyBinOpwill be anotherBinOpso it fails while trying to recurse into this.Both these issues will most likely be solved by the same solution: checks while recursing deeply during the compilation phase (I'm guessing the AST traversal is the cause here but I'd need to check to make sure).
Thanks a lot for reporting and feel free to re-open if you disagree.