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
Found by google/oss-fuzz
The problem is that S_get_enumlevel returns the actual enumeration level, but we only handle levels up through 10. @kivikakk I'm about to post a fix.
We got an array overflow in enumerated lists nested more than
10 deep with start number =/= 1.
Found by google/oss-fuzz.
https://oss-fuzz.com/v2/testcase-detail/5546760854306816
This commit also ensures that we don't try to set `enum_` counters
that aren't defined by LaTeX (generally up to enumv).
Closescommonmark#210.
Reproduce with
cmark -t latex
:The text was updated successfully, but these errors were encountered: