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
10: core::panicking::panic
at src/libcore/panicking.rs:49
11: pulldown_cmark::scanners::parse_decimal::{{closure}}
at src/scanners.rs:586
12: <core::iter::adapters::TakeWhile<I,P> as core::iter::traits::iterator::Iterator>::try_fold::{{closure}}
at /rustc/627486af15d222bcba336b12ea92a05237cc9ab1/src/libcore/iter/adapters/mod.rs:1375
13: <core::slice::Iter<T> as core::iter::traits::iterator::Iterator>::try_fold
at /rustc/627486af15d222bcba336b12ea92a05237cc9ab1/src/libcore/slice/mod.rs:3140
14: <core::iter::adapters::TakeWhile<I,P> as core::iter::traits::iterator::Iterator>::try_fold
at /rustc/627486af15d222bcba336b12ea92a05237cc9ab1/src/libcore/iter/adapters/mod.rs:1373
15: pulldown_cmark::scanners::parse_decimal
at src/scanners.rs:582
16: pulldown_cmark::scanners::scan_entity
at src/scanners.rs:640
17: pulldown_cmark::parse::FirstPass::parse_line::{{closure}}
at src/parse.rs:742
18: pulldown_cmark::parse::scalar_iterate_special_bytes
at src/parse.rs:2273
19: pulldown_cmark::parse::iterate_special_bytes
at src/parse.rs:2266
20: pulldown_cmark::parse::FirstPass::parse_line
at src/parse.rs:580
21: pulldown_cmark::parse::FirstPass::parse_paragraph
at src/parse.rs:523
22: pulldown_cmark::parse::FirstPass::parse_block
at src/parse.rs:399
23: pulldown_cmark::parse::FirstPass::run
at src/parse.rs:252
24: pulldown_cmark::parse::Parser::new_with_broken_link_callback
at src/parse.rs:1798
25: pulldown_cmark::parse::Parser::new_ext
at src/parse.rs:1784
26: pulldown_cmark::parse::Parser::new
at src/parse.rs:1780
The text was updated successfully, but these errors were encountered:
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.)
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: