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

Add quadratic fuzz target #295

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Conversation

philipturnbull
Copy link
Contributor

This is the fuzzer which discovered the issues fixed by GHSA-8hqf-xjwp-p67v. The comment at the top of quadratic.rs explains how the fuzzer works. I ran the fuzzer for ~1 hour on top of the latest main branch and it didn't trigger any quadratic parsing issues. Previously, it would trigger a quadratic parsing bug in a few minutes, so the parser seems pretty solid 🎉

The fuzzer can be run with cargo fuzz run quadratic

The fuzzer can be run with `cargo fuzz run quadratic`.
@kivikakk
Copy link
Owner

Thanks so much, this is awesome! 🤍

@kivikakk kivikakk merged commit bda53b1 into kivikakk:main Mar 30, 2023
@philipturnbull philipturnbull deleted the quadratic-fuzzer branch March 30, 2023 14:29
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.

2 participants