[dovecot/core] c05b4a: imapc: Fix local state if mailbox is empty after r...
GitHub
noreply at github.com
Wed Mar 28 15:00:17 EEST 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: c05b4ac76c4c6012958f1cc37e2fccf7a7d31c33
https://github.com/dovecot/core/commit/c05b4ac76c4c6012958f1cc37e2fccf7a7d31c33
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-03-28 (Wed, 28 Mar 2018)
Changed paths:
M src/lib-storage/index/imapc/imapc-mailbox.c
Log Message:
-----------
imapc: Fix local state if mailbox is empty after reconnection
If local indexes had more than 0 mails, but after reconnection the remote
IMAP server replied with "* 0 EXISTS", the mails in local index weren't
expunged. This could have resulted in:
Panic: file imapc-sync.c: line 328 (imapc_initial_sync_check): assertion failed: (mail_index_is_expunged(view, lseq) || seq_range_exists(&ctx->mbox->delayed_expunged_uids, luid))
Commit: f2e3e00d97e9095d79837bd8f482792eae0b531d
https://github.com/dovecot/core/commit/f2e3e00d97e9095d79837bd8f482792eae0b531d
Author: Bill Cole <github-20160324 at billmail.scconsult.com>
Date: 2018-03-28 (Wed, 28 Mar 2018)
Changed paths:
M m4/arc4random.m4
Log Message:
-----------
Fix arc4random build checks
The configure script checks for arc4random() but the actual code uses
arc4random_buf(). This breaks for FreeBSD <8.0 and MacOS X <10.7, which
have the former but not the latter. This change (and an autoreconf run)
solves the problem at the cost of not using the available ARC4
implementation.
Compare: https://github.com/dovecot/core/compare/5522b8b3d3ed...f2e3e00d97e9
More information about the dovecot-cvs
mailing list