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

fuzz: add unknownproto fuzz pass #12151

Closed
wants to merge 1 commit into from
Closed

fuzz: add unknownproto fuzz pass #12151

wants to merge 1 commit into from

Conversation

odeke-em
Copy link
Collaborator

@odeke-em odeke-em commented Jun 4, 2022

This is a progressive PR series to bring into the main branch, the already available fuzzers on a separate branch per #11841 (comment)

Updates #7921.

@odeke-em odeke-em requested a review from tac0turtle June 4, 2022 00:26
@odeke-em odeke-em requested a review from a team as a code owner June 4, 2022 00:26
@odeke-em odeke-em closed this Jun 4, 2022
@odeke-em odeke-em deleted the fuzz-unknownproto branch June 4, 2022 00:34
msg := new(testdata.TestVersion2)
resolver := new(unknownproto.DefaultAnyResolver)
_, err1 := unknownproto.RejectUnknownFields(b, msg, true, resolver)
_, err2 := unknownproto.RejectUnknownFields(b, msg, false, resolver)

Check warning

Code scanning / CodeQL

Useless assignment to local variable

This definition of err2 is never used.
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.

1 participant