Skip to content

Commit

Permalink
Fixed crashing unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Zach <zasweq@google.com>
  • Loading branch information
zasweq committed Nov 4, 2020
1 parent 476a643 commit 95b4bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/upstream/health_checker_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3478,7 +3478,7 @@ class GrpcHealthCheckerImplTestBase : public GrpcHealthCheckerImplTestBaseUtils
}
// Null dereference from health check fuzzer
static ChunkSpec badData() {
std::string data("\000\000\000\000\000\000\000\000\000\000\000\000\000\0000000", 72);
std::string data("\000\000\000\000\0000000", 9);
std::vector<uint8_t> chunk(data.begin(), data.end());
ChunkSpec spec;
spec.valid = true;
Expand Down

0 comments on commit 95b4bd3

Please sign in to comment.