dovecot-2.2: dsync: Crashfix to -F parameter handling.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 20 02:48:11 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/b505739970e7
changeset: 18183:b505739970e7
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 20 04:46:26 2015 +0200
description:
dsync: Crashfix to -F parameter handling.

diffstat:

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

diffs (13 lines):

diff -r c18b2ffeb882 -r b505739970e7 src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c	Tue Jan 20 04:30:27 2015 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-import.c	Tue Jan 20 04:46:26 2015 +0200
@@ -1246,6 +1246,9 @@
 {
 	const char *const *strp;
 
+	if (!array_is_created(&change->keyword_changes))
+		return FALSE;
+
 	array_foreach(&change->keyword_changes, strp) {
 		switch ((*strp)[0]) {
 		case KEYWORD_CHANGE_FINAL:


More information about the dovecot-cvs mailing list