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
Quadratic behavior in Commonmark renderer involving get_containing_block #431
I haven't investigated the test case form OSS-Fuzz, but the stack trace contains the function get_containing_block in the Commonmark renderer which can obviously lead to quadratic behavior with deeply nested inlines:
Activity
Fix quadratic behavior involving get_containing_block
jgm commentedon Dec 3, 2021
Your fix seems excellent -- go ahead and submit a PR.
Fix quadratic behavior involving get_containing_block
Fix quadratic behavior involving get_containing_block