We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Parsing a sequence of certain HTML opening constructs results in quadratic behavior:
# Processing instruction python3 -c 'print("a"+"<?"*50000)' |build/src/cmark >/dev/null # Declaration python3 -c 'print("a"+"<!D "*50000)' |build/src/cmark >/dev/null # CDATA section python3 -c 'print("a"+"<![CDATA["*50000)' |build/src/cmark >/dev/null
Possible fix: Don't try to reparse these constructs if the (fixed) character sequence required to terminate them wasn't found during the first scan.
Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32344
The text was updated successfully, but these errors were encountered:
Oops, this was already reported as #299.
Sorry, something went wrong.
No branches or pull requests
Parsing a sequence of certain HTML opening constructs results in quadratic behavior:
Possible fix: Don't try to reparse these constructs if the (fixed) character sequence required to terminate them wasn't found during the first scan.
Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32344
The text was updated successfully, but these errors were encountered: