Skip to content

[fuzz] fix fuzz crashes related to not implemented protos#11385

Merged
htuch merged 9 commits into
envoyproxy:masterfrom
asraa:fix-not-implemented1
Jun 10, 2020
Merged

[fuzz] fix fuzz crashes related to not implemented protos#11385
htuch merged 9 commits into
envoyproxy:masterfrom
asraa:fix-not-implemented1

Conversation

@asraa
Copy link
Copy Markdown
Contributor

@asraa asraa commented Jun 1, 2020

Signed-off-by: Asra Ali asraa@google.com

Commit Message: Fixes crashes (panic: not reached) due to not implemented protos being fuzzed.
Additional Description:

Signed-off-by: Asra Ali <asraa@google.com>
Comment thread test/server/server_fuzz_test.cc Outdated
Signed-off-by: Asra Ali <asraa@google.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/.
CC @envoyproxy/api-watchers: FYI only for changes made to api/.

🐱

Caused by: #11385 was synchronize by asraa.

see: more, trace.

@htuch
Copy link
Copy Markdown
Member

htuch commented Jun 2, 2020

Yeah, in general making PGV annotations more restrictive is bad, except for the case where this restriction is 100% in the existing contract, which it is in these cases :)

Comment thread test/extensions/filters/http/common/fuzz/uber_per_filter.cc
Comment thread api/envoy/config/cluster/v3/cluster.proto
Signed-off-by: Asra Ali <asraa@google.com>
@asraa asraa requested a review from lizan as a code owner June 3, 2020 12:54
asraa added 2 commits June 3, 2020 09:07
Signed-off-by: Asra Ali <asraa@google.com>
htuch
htuch previously approved these changes Jun 4, 2020
Copy link
Copy Markdown
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.

LGTM, thanks!

@repokitteh-read-only repokitteh-read-only Bot removed the api label Jun 4, 2020
@mattklein123
Copy link
Copy Markdown
Member

Looks like it's hitting the new extension coverage bar?

/wait

asraa added 2 commits June 5, 2020 09:01
Signed-off-by: Asra Ali <asraa@google.com>
Copy link
Copy Markdown
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.

LGTM, thanks!

@htuch htuch merged commit aa0fc9d into envoyproxy:master Jun 10, 2020
yashwant121 pushed a commit to yashwant121/envoy that referenced this pull request Jun 24, 2020
…#11385)

Fixes crashes (panic: not reached) due to not implemented protos being fuzzed.

- load balancing policy LOAD_BALANCING_POLICY_CONFIG not implemented, causing server_fuzz_test to crash
- connect matcher not supported in Jwt authentication filter, but matcher available @qiwzhang

Risk Level: Low
Testing: Regression testcases added

Fixes OSS-fuzz issues
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21876
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17762

Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: yashwant121 <yadavyashwant36@gmail.com>
songhu pushed a commit to songhu/envoy that referenced this pull request Jun 25, 2020
…#11385)

Fixes crashes (panic: not reached) due to not implemented protos being fuzzed.

- load balancing policy LOAD_BALANCING_POLICY_CONFIG not implemented, causing server_fuzz_test to crash
- connect matcher not supported in Jwt authentication filter, but matcher available @qiwzhang

Risk Level: Low
Testing: Regression testcases added

Fixes OSS-fuzz issues
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21876
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17762

Signed-off-by: Asra Ali <asraa@google.com>
yashwant121 pushed a commit to yashwant121/envoy that referenced this pull request Jul 24, 2020
…#11385)

Fixes crashes (panic: not reached) due to not implemented protos being fuzzed.

- load balancing policy LOAD_BALANCING_POLICY_CONFIG not implemented, causing server_fuzz_test to crash
- connect matcher not supported in Jwt authentication filter, but matcher available @qiwzhang

Risk Level: Low
Testing: Regression testcases added

Fixes OSS-fuzz issues
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21876
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17762

Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: yashwant121 <yadavyashwant36@gmail.com>
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