Fix inf loop

This commit is contained in:
Craig Tiller 2016-04-19 20:47:50 -07:00
parent 22524376a1
commit ffae017694
1 changed files with 2 additions and 0 deletions

View File

@ -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);