dovecot-2.2: dsync: Fixed another crash with recent end-of-list ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Aug 27 13:29:27 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/d6df577504cf
changeset: 19023:d6df577504cf
user: Timo Sirainen <tss at iki.fi>
date: Thu Aug 27 15:28:21 2015 +0200
description:
dsync: Fixed another crash with recent end-of-list changes.
diffstat:
src/doveadm/dsync/dsync-brain-mails.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 79ad598d7856 -r d6df577504cf src/doveadm/dsync/dsync-brain-mails.c
--- a/src/doveadm/dsync/dsync-brain-mails.c Thu Aug 27 15:07:35 2015 +0200
+++ b/src/doveadm/dsync/dsync-brain-mails.c Thu Aug 27 15:28:21 2015 +0200
@@ -252,7 +252,8 @@
return FALSE;
if (ret == DSYNC_IBC_RECV_RET_FINISHED) {
brain->box_recv_state = DSYNC_BOX_STATE_RECV_LAST_COMMON;
- if (brain->box_exporter != NULL) {
+ if (brain->box_exporter != NULL &&
+ brain->box_send_state >= DSYNC_BOX_STATE_RECV_LAST_COMMON) {
if (dsync_brain_export_deinit(brain) < 0)
return TRUE;
}
More information about the dovecot-cvs
mailing list