Mercurial > dovecot > core-2.2
changeset 15256:ce3f3006383b
dsync: Crashfix for scanning keyword changes in transaction log.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 24 Oct 2012 15:05:15 +0300 |
parents | e34a51082c11 |
children | 60f0cb48fdb2 |
files | src/doveadm/dsync/dsync-transaction-log-scan.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,