Skip to content

Commit

Permalink
fuzz: fixing unsigned integer underflow (envoyproxy#12289)
Browse files Browse the repository at this point in the history
Signed-off-by: Yifan Yang <[email protected]>
  • Loading branch information
aimless404 authored Jul 28, 2020
1 parent 755dfe0 commit 8f668e9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions api/envoy/config/tap/v3/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ message HttpGenericBodyMatch {
option (validate.required) = true;

// Text string to be located in HTTP body.
string string_match = 1;
string string_match = 1 [(validate.rules).string = {min_len: 1}];

// Sequence of bytes to be located in HTTP body.
bytes binary_match = 2;
bytes binary_match = 2 [(validate.rules).bytes = {min_len: 1}];
}
}

Expand Down
4 changes: 2 additions & 2 deletions api/envoy/config/tap/v4alpha/common.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions generated_api_shadow/envoy/config/tap/v3/common.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions generated_api_shadow/envoy/config/tap/v4alpha/common.proto

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.

0 comments on commit 8f668e9

Please sign in to comment.