aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fuzzers
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-19 20:47:50 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-19 20:47:50 -0700
commitffae01769418fc96cdc29afa33dbb11fa2eec254 (patch)
treed07d17a75b682c19587a83f7ea620a04fdb19ba7 /test/core/end2end/fuzzers
parent22524376a1254306dd722412cfb5d56f942f12b1 (diff)
Fix inf loop
Diffstat (limited to 'test/core/end2end/fuzzers')
-rw-r--r--test/core/end2end/fuzzers/api_fuzzer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/end2end/fuzzers/api_fuzzer.c b/test/core/end2end/fuzzers/api_fuzzer.c
index efd438250b..bb74a816a6 100644
--- a/test/core/end2end/fuzzers/api_fuzzer.c
+++ b/test/core/end2end/fuzzers/api_fuzzer.c
@@ -453,6 +453,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
do {
if (s->type != PENDING_SERVER && s->call != NULL) {
s = destroy_call(&active_call, s);
+ } else {
+ s = s->next;
}
} while (s != active_call);