Skip to content
New issue

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

Revert bad fix for GHSA-66g8-4hjf-77xh #323

Merged
merged 5 commits into from
Apr 3, 2023

Conversation

kevinbackhouse
Copy link
Collaborator

@kevinbackhouse kevinbackhouse commented Apr 3, 2023

Revert and the previous fix for GHSA-66g8-4hjf-77xh. That solution was complicated and fragile, and it turns out that it couldn't handle examples like this:

python3 -c 'n = 40000; print(" -" * n + " > ```" + "\n" * n)' | ./src/cmark-gfm

I'll post a follow-up PR with the original, much simpler solution.

@kevinbackhouse kevinbackhouse changed the title Limit the depth of nested lists Revert bad fix for GHSA-66g8-4hjf-77xh Apr 3, 2023
@kevinbackhouse kevinbackhouse merged commit 1971f30 into github:master Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants