[dovecot/core] 8a5fe0: lib-storage: Fix setting the correct cache record ...
GitHub
noreply at github.com
Fri Jun 9 15:30:10 EEST 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 8a5fe0c06f48b202a5f1d3dd49f7ed7ed92d64ae
https://github.com/dovecot/core/commit/8a5fe0c06f48b202a5f1d3dd49f7ed7ed92d64ae
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Fix setting the correct cache record corrupted
It was mixing UIDs and sequences, so a wrong mail could have been set
corrupted or it could have crashed with:
Panic: file mail-index-transaction-update.c: line 1018 (mail_index_update_ext): assertion failed: (seq > 0 && (seq <= mail_index_view_get_messages_count(t->view) || seq <= t->last_new_seq))
More information about the dovecot-cvs
mailing list