Skip to content

fuzz: fixes oss-fuzz: 9204#3935

Merged
htuch merged 3 commits intoenvoyproxy:masterfrom
anirudhmurali:oss-fuzz-9204
Jul 27, 2018
Merged

fuzz: fixes oss-fuzz: 9204#3935
htuch merged 3 commits intoenvoyproxy:masterfrom
anirudhmurali:oss-fuzz-9204

Conversation

@anirudhmurali
Copy link
Member

Title: Fixes oss-fuzz: 9204

Description: oss-fuzz issue (9204): https://oss-fuzz.com/v2/testcase-detail/5366294281977856
I suppose Envoy doesn't support multiple health checks still. Instead of assertion, have replaced it with throw. This doesn't crash the build. Let me know if any changes.

Risk Level: Low

Testing: Tested unit tests (bazel test //server:server_fuzz_test), built and ran fuzzers with oss-fuzz.

Signed-off-by: Anirudh M m.anirudh18@gmail.com

Copy link
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one style nit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe our style is to use curly braces around both the if and else statements in this case.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to delete log_manager.

@htuch htuch self-assigned this Jul 24, 2018
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally add a unit test in addition to the corpus, thanks.

htuch
htuch previously approved these changes Jul 25, 2018
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@htuch
Copy link
Member

htuch commented Jul 25, 2018

@anirudhmurali can you merge master to workaround the merge conflict here and push? Ta.

Signed-off-by: Anirudh M <m.anirudh18@gmail.com>
Signed-off-by: Anirudh M <m.anirudh18@gmail.com>
Signed-off-by: Anirudh M <m.anirudh18@gmail.com>
@htuch htuch merged commit 0e2c795 into envoyproxy:master Jul 27, 2018
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