Skip to content

Commit

Permalink
lib-storage: Do not try to recover missing list index
Browse files Browse the repository at this point in the history
Fixes Panic: file mailbox-list-index.c: line 342 (mailbox_list_index_parse_records): assertion failed: (node != NULL)
  • Loading branch information
cmouse committed Dec 12, 2016
1 parent b405360 commit 271b814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib-storage/list/mailbox-list-index.c
Expand Up @@ -308,6 +308,9 @@ static int mailbox_list_index_parse_records(struct mailbox_list_index *ilist,
&data, &expunged);
if (data == NULL) {
*error_r = "Missing list extension data";
/* list index is missing, no point trying
to do second scan either */
count = 0;
break;
}
irec = data;
Expand Down

0 comments on commit 271b814

Please sign in to comment.