diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-11-06 14:39:17 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-11-06 14:43:31 -0800 |
commit | 40422d5fa621624868280094efb2f01c2cd1352b (patch) | |
tree | cbb2baa955e11c03fa004e9e0f4f3037ba3d6150 /test/core/client_channel/uri_fuzzer_test.cc | |
parent | aae4ca01a315a69fcf182d09aea1efdfcda13d48 (diff) | |
parent | e759d2ad7abdb0702970eeccc5f033ff4b2a4c7f (diff) |
Merge master
Diffstat (limited to 'test/core/client_channel/uri_fuzzer_test.cc')
-rw-r--r-- | test/core/client_channel/uri_fuzzer_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/client_channel/uri_fuzzer_test.cc b/test/core/client_channel/uri_fuzzer_test.cc index 9674dadf6c..ba31793ff3 100644 --- a/test/core/client_channel/uri_fuzzer_test.cc +++ b/test/core/client_channel/uri_fuzzer_test.cc @@ -28,13 +28,13 @@ bool squelch = true; bool leak_check = true; -extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { - char *s = static_cast<char *>(gpr_malloc(size + 1)); +extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { + char* s = static_cast<char*>(gpr_malloc(size + 1)); memcpy(s, data, size); s[size] = 0; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - grpc_uri *x; + grpc_uri* x; if ((x = grpc_uri_parse(&exec_ctx, s, 1))) { grpc_uri_destroy(x); } |