dovecot-2.2: dsync: Fixed handling messages without GUID.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:30 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/078697a32109
changeset: 14395:078697a32109
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Mar 30 03:07:12 2012 +0300
description:
dsync: Fixed handling messages without GUID.

diffstat:

 src/doveadm/dsync/dsync-brain-msgs.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 7b5b40f64439 -r 078697a32109 src/doveadm/dsync/dsync-brain-msgs.c
--- a/src/doveadm/dsync/dsync-brain-msgs.c	Thu Mar 29 01:58:35 2012 +0300
+++ b/src/doveadm/dsync/dsync-brain-msgs.c	Fri Mar 30 03:07:12 2012 +0300
@@ -58,6 +58,8 @@
 
 	if ((msg->flags & DSYNC_MAIL_FLAG_EXPUNGED) != 0)
 		return;
+	if (*msg->guid == '\0')
+		return;
 
 	inst = p_new(iter->sync->pool, struct dsync_brain_guid_instance, 1);
 	inst->mailbox_idx = mailbox_idx;


More information about the dovecot-cvs mailing list