-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[fuzz] fix bad inputs and config bugs #12504
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/envoyproxy/envoy/blob/master/api/API_VERSIONING.md#backwards-compatibility
Assuming this change falls into this exception, because MetadataFilter can be null, @asraa ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be able to be solved in code too.
MetadataFilteronly needs an actualMetadataMatcher matcherso that it can have avalue, otherwise this line crashes in codeenvoy/source/common/access_log/access_log_impl.cc
Line 273 in d7c7e9a
because of
envoy/source/common/common/matchers.cc
Line 34 in b6d1fec
Thinking about this more, it is possible to solve in code by only setting
value_matcher_if there's amatcher, and evaluating the match by preconditioning that there's avalue_matcher_.I think code may be better (at least for now)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opted for the code change.