dovecot-2.2: dsync: Fixed potential crash when debug logging was...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 23:20:35 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/fd6d650f292e
changeset: 17458:fd6d650f292e
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 13 00:00:31 2014 +0300
description:
dsync: Fixed potential crash when debug logging was enabled.
Found by Coverity.

diffstat:

 src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 362ad646e37a -r fd6d650f292e src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c
--- a/src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c	Thu Jun 12 23:51:28 2014 +0300
+++ b/src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c	Fri Jun 13 00:00:31 2014 +0300
@@ -146,7 +146,7 @@
 				i_debug("brain %c: Change during sync: "
 					"Mailbox %s mailbox_list_delete_dir conflict: %s",
 					brain->master_brain ? 'M' : 'S',
-					mailbox_get_vname(box), errstr);
+					change->full_name, errstr);
 			}
 			brain->changes_during_sync = TRUE;
 			return 0;


More information about the dovecot-cvs mailing list