diff options
Diffstat (limited to 'test/core/slice/percent_encode_fuzzer.c')
-rw-r--r-- | test/core/slice/percent_encode_fuzzer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/slice/percent_encode_fuzzer.c b/test/core/slice/percent_encode_fuzzer.c index db3dc3bb3f..776a998e51 100644 --- a/test/core/slice/percent_encode_fuzzer.c +++ b/test/core/slice/percent_encode_fuzzer.c @@ -29,10 +29,10 @@ bool squelch = true; bool leak_check = true; -static void test(const uint8_t *data, size_t size, const uint8_t *dict) { +static void test(const uint8_t* data, size_t size, const uint8_t* dict) { struct grpc_memory_counters counters; grpc_memory_counters_init(); - grpc_slice input = grpc_slice_from_copied_buffer((const char *)data, size); + grpc_slice input = grpc_slice_from_copied_buffer((const char*)data, size); grpc_slice output = grpc_percent_encode_slice(input, dict); grpc_slice decoded_output; // encoder must always produce decodable output @@ -51,7 +51,7 @@ static void test(const uint8_t *data, size_t size, const uint8_t *dict) { GPR_ASSERT(counters.total_size_relative == 0); } -int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { +int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { test(data, size, grpc_url_percent_encoding_unreserved_bytes); test(data, size, grpc_compatible_percent_encoding_unreserved_bytes); return 0; |