dovecot-2.2: dsync: Crashfix for scanning keyword changes in tra...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 26 10:36:55 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/ce3f3006383b
changeset: 15256:ce3f3006383b
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 24 15:05:15 2012 +0300
description:
dsync: Crashfix for scanning keyword changes in transaction log.

diffstat:

 src/doveadm/dsync/dsync-transaction-log-scan.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e34a51082c11 -r ce3f3006383b src/doveadm/dsync/dsync-transaction-log-scan.c
--- a/src/doveadm/dsync/dsync-transaction-log-scan.c	Wed Oct 24 13:04:38 2012 +0300
+++ b/src/doveadm/dsync/dsync-transaction-log-scan.c	Wed Oct 24 15:05:15 2012 +0300
@@ -252,7 +252,7 @@
 	uids = CONST_PTR_OFFSET(rec, uids_offset);
 	end = CONST_PTR_OFFSET(rec, hdr->size);
 
-	for (; uids <= end; uids += 2) {
+	for (; uids < end; uids += 2) {
 		for (uid = uids[0]; uid <= uids[1]; uid++) {
 			if (!export_change_get(ctx, uid,
 					DSYNC_MAIL_CHANGE_TYPE_FLAG_CHANGE,


More information about the dovecot-cvs mailing list