memset for api fuzzer

pull/6481/head
David Garcia Quintas 9 years ago
parent 48a5ddd00c
commit 5ff7b71a25
  1. 1
      test/core/end2end/fuzzers/api_fuzzer.c

@ -697,6 +697,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
break; break;
} }
grpc_op *ops = gpr_malloc(sizeof(grpc_op) * num_ops); grpc_op *ops = gpr_malloc(sizeof(grpc_op) * num_ops);
memset(ops, 0, sizeof(grpc_op) * num_ops);
bool ok = true; bool ok = true;
size_t i; size_t i;
grpc_op *op; grpc_op *op;

Loading…
Cancel
Save