mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pathological input

mity opened this issue · comments

(Distilled from some data from oss-fuzz)

Pathological input generated with:

$ python -c 'print("]([\n" * 50000)'

leads to quadratic time behavior.