dovecot-2.2: dsync: Don't access uninitialized variable

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 27 09:17:02 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/37711fb8369f
changeset: 16122:37711fb8369f
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 27 09:16:56 2013 +0200
description:
dsync: Don't access uninitialized variable

diffstat:

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

diffs (12 lines):

diff -r 10bcadab431c -r 37711fb8369f src/doveadm/dsync/doveadm-dsync.c
--- a/src/doveadm/dsync/doveadm-dsync.c	Wed Mar 27 09:16:42 2013 +0200
+++ b/src/doveadm/dsync/doveadm-dsync.c	Wed Mar 27 09:16:56 2013 +0200
@@ -686,7 +686,7 @@
 			    const char **error_r)
 {
 	struct dsync_cmd_context *ctx = (struct dsync_cmd_context *)_ctx;
-	const char *local_location, *const *remote_cmd_args = NULL;
+	const char *local_location = NULL, *const *remote_cmd_args = NULL;
 	const struct mail_user_settings *user_set;
 	const struct mail_storage_settings *mail_set;
 	const char *username = "";


More information about the dovecot-cvs mailing list