diff options
author | Craig Tiller <ctiller@google.com> | 2016-04-15 13:30:34 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-04-15 13:30:34 -0700 |
commit | a225c29066fb900601fd9c893a94d8409c41ab14 (patch) | |
tree | 1de860e26e90859e30170d6fc5807b343c7c5e83 /test | |
parent | 41703589dc200c475765300e10dd5e8995234776 (diff) |
Fix crash
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/fuzzers/api_fuzzer.c b/test/core/end2end/fuzzers/api_fuzzer.c index 8e1d4195f1..7b107d2bc3 100644 --- a/test/core/end2end/fuzzers/api_fuzzer.c +++ b/test/core/end2end/fuzzers/api_fuzzer.c @@ -126,7 +126,7 @@ static void read_metadata(input_stream *inp, size_t *count, grpc_metadata **meta memset(*metadata, 0, *count * sizeof(**metadata)); for (size_t i = 0; i < *count; i++) { (*metadata)[i].key = read_string(inp); - read_buffer(inp, (char**)&(*metadata[i]).value, &(*metadata[i]).value_length); + read_buffer(inp, (char**)&(*metadata)[i].value, &(*metadata)[i].value_length); (*metadata)[i].flags = read_uint32(inp); } } |