dovecot-2.2: dsync: Crashfix when importing from storage without...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 26 22:39:54 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/494d1a69fc1c
changeset: 16117:494d1a69fc1c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 26 22:39:38 2013 +0200
description:
dsync: Crashfix when importing from storage without GUIDs.

diffstat:

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

diffs (11 lines):

diff -r 0fbeb82f3f95 -r 494d1a69fc1c src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c	Tue Mar 26 14:38:30 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-import.c	Tue Mar 26 22:39:38 2013 +0200
@@ -506,6 +506,7 @@
 		} 
 		pmail = (struct mail_private *)importer->cur_mail;
 		importer->cur_hdr_hash = p_strdup(pmail->pool, hdr_hash);
+		importer->cur_guid = "";
 	}
 	/* make sure next_local_seq gets updated in case we came here
 	   because of min_uid */


More information about the dovecot-cvs mailing list