diff options
author | 2016-10-31 08:06:50 -0700 | |
---|---|---|
committer | 2016-10-31 08:06:50 -0700 | |
commit | 77f98a83ddd22ee15329b60e1337c04db2d66d1a (patch) | |
tree | 07b26bb80b981b78c64e3c89182fc53127265ac2 /test/core/end2end | |
parent | c34a321e31b13b8bc8447458215e5bd6244b2996 (diff) |
Fix bad memory usage
Diffstat (limited to 'test/core/end2end')
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer.c | 3 | ||||
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer_corpus/3fbf231b2182dc58d2cdf1c62f01a8b709752505 | bin | 0 -> 79 bytes | |||
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer_corpus/494f747fe7c326002c3fb676c35d5dca2e28fd89 | bin | 0 -> 101 bytes | |||
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer_corpus/a404f3f4dbe1521cc977ed94ea50c49dbd6e32a2 | bin | 0 -> 110 bytes | |||
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer_corpus/ce95d2fc5b099365cd781aa7e2b297ac92a215b3 | bin | 0 -> 70 bytes | |||
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer_corpus/crash-0597bbdd657fa4ed14443994c9147a1a7bbc205f | bin | 0 -> 21 bytes | |||
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer_corpus/e48ae5d10ab8c349250e8c6b9a491a154b4a861d | bin | 0 -> 90 bytes |
7 files changed, 2 insertions, 1 deletions
diff --git a/test/core/end2end/fuzzers/api_fuzzer.c b/test/core/end2end/fuzzers/api_fuzzer.c index 13343c2012..5556b37038 100644 --- a/test/core/end2end/fuzzers/api_fuzzer.c +++ b/test/core/end2end/fuzzers/api_fuzzer.c @@ -178,9 +178,10 @@ static grpc_channel_args *read_args(input_stream *inp) { break; case 3: args[i].type = GRPC_ARG_POINTER; - args[i].key = GRPC_ARG_RESOURCE_QUOTA; + args[i].key = gpr_strdup(GRPC_ARG_RESOURCE_QUOTA); args[i].value.pointer.vtable = grpc_resource_quota_arg_vtable(); args[i].value.pointer.p = g_resource_quota; + grpc_resource_quota_ref(g_resource_quota); break; default: end(inp); diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/3fbf231b2182dc58d2cdf1c62f01a8b709752505 b/test/core/end2end/fuzzers/api_fuzzer_corpus/3fbf231b2182dc58d2cdf1c62f01a8b709752505 Binary files differnew file mode 100644 index 0000000000..65e06f4b14 --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/3fbf231b2182dc58d2cdf1c62f01a8b709752505 diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/494f747fe7c326002c3fb676c35d5dca2e28fd89 b/test/core/end2end/fuzzers/api_fuzzer_corpus/494f747fe7c326002c3fb676c35d5dca2e28fd89 Binary files differnew file mode 100644 index 0000000000..883f2a5092 --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/494f747fe7c326002c3fb676c35d5dca2e28fd89 diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/a404f3f4dbe1521cc977ed94ea50c49dbd6e32a2 b/test/core/end2end/fuzzers/api_fuzzer_corpus/a404f3f4dbe1521cc977ed94ea50c49dbd6e32a2 Binary files differnew file mode 100644 index 0000000000..00d6cb96a7 --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/a404f3f4dbe1521cc977ed94ea50c49dbd6e32a2 diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/ce95d2fc5b099365cd781aa7e2b297ac92a215b3 b/test/core/end2end/fuzzers/api_fuzzer_corpus/ce95d2fc5b099365cd781aa7e2b297ac92a215b3 Binary files differnew file mode 100644 index 0000000000..8b87565221 --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/ce95d2fc5b099365cd781aa7e2b297ac92a215b3 diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/crash-0597bbdd657fa4ed14443994c9147a1a7bbc205f b/test/core/end2end/fuzzers/api_fuzzer_corpus/crash-0597bbdd657fa4ed14443994c9147a1a7bbc205f Binary files differnew file mode 100644 index 0000000000..732f3d7297 --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/crash-0597bbdd657fa4ed14443994c9147a1a7bbc205f diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/e48ae5d10ab8c349250e8c6b9a491a154b4a861d b/test/core/end2end/fuzzers/api_fuzzer_corpus/e48ae5d10ab8c349250e8c6b9a491a154b4a861d Binary files differnew file mode 100644 index 0000000000..7dce27f84e --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/e48ae5d10ab8c349250e8c6b9a491a154b4a861d |