Skip to content

Commit 640192c

Browse files
committed
search_query.c: zero-out folder->esearch before using it
1 parent c892385 commit 640192c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: imap/search_query.c

+1
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@ static int _subquery_run_one_folder(search_query_t *query,
601601
}
602602
}
603603

604+
memset(&folder->esearch, 0, sizeof(folder->esearch));
604605
folder->esearch.min_uid = state->last_uid + 1;
605606
}
606607

0 commit comments

Comments
 (0)