dovecot-2.2: dsync: Assert-crashfix

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 3 19:13:18 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/5c8be83ada6c
changeset: 19084:5c8be83ada6c
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 03 22:12:14 2015 +0300
description:
dsync: Assert-crashfix
Fixes:

Panic: file mail-storage.c: line 1897 (mailbox_save_alloc): assertion
failed: (!ctx->unfinished)

diffstat:

 src/doveadm/dsync/dsync-mailbox-import.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 5d0bcb628c88 -r 5c8be83ada6c src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c	Thu Sep 03 21:37:09 2015 +0300
+++ b/src/doveadm/dsync/dsync-mailbox-import.c	Thu Sep 03 22:12:14 2015 +0300
@@ -2271,6 +2271,7 @@
 	if (!remote_mail) {
 		/* the mail isn't remote yet. we were just trying to copy a
 		   local mail to avoid downloading the remote mail. */
+		mailbox_save_cancel(&save_ctx);
 		return FALSE;
 	}
 	if (mail->minimal_fields) {


More information about the dovecot-cvs mailing list