-
Notifications
You must be signed in to change notification settings - Fork 234
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
panicked at 'attempt to add with overflow', src/scanners.rs:586:49 #352
Comments
Do I read this story correctly that p-c tries to parse integers of arbitrary lengths? As far as I can remember the CommonMark specification imposes limits in all the cases where that has to be done. That includes (ordered) list item marks as well as numeric character references. (And when honoring the limits, the unchecked operations might be quite possibly good enough.) |
I'll wait for @marcusklaas to review before merging. I think what @mity wrote was the original intent, but something may have changed. |
I have created a PR to add this to the fuzzing trophy case here |
A real edge case this, impressive work by the fuzzer...
I imagine that the testcase can be shrunk, but I haven't tried:
The text was updated successfully, but these errors were encountered: