-
Notifications
You must be signed in to change notification settings - Fork 175
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
protoparse: index out of range in validateEnum #271
Comments
In case it helps debugging, here's a very similar input that also fails with a slightly different stack trace: syntax="proto3";enum o{N=572}
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've seen a couple of panics in my project (which uses
dynamic
to unmarshal unknown messages). And so have been working on some fuzzing harnesses to try and pin down a small reproducible example. I haven't found my issue yet but did find this index out of range panic inprotoparse
.Would you be interested in me opening a PR with the basic fuzzing harnesses I've got?
A service like fuzzbuzz.io/fuzzit.dev might be interesting to add to this project to run fuzzing continuously (with a lot more processing power than my laptop...). They're offering free CPU for open source projects and I'd be happy to help integrate it if you want 🙂
Fuzz harness:
Crashing input:
Stack trace:
The text was updated successfully, but these errors were encountered: