dovecot-2.2: var_expand(): Fixed initializing variable to %N

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 6 16:43:06 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/e5bd0a7c6a1e
changeset: 16475:e5bd0a7c6a1e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 06 16:43:01 2013 +0300
description:
var_expand(): Fixed initializing variable to %N

diffstat:

 src/lib/var-expand.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 561f36451dc2 -r e5bd0a7c6a1e src/lib/var-expand.c
--- a/src/lib/var-expand.c	Thu Jun 06 12:42:34 2013 +0300
+++ b/src/lib/var-expand.c	Thu Jun 06 16:43:01 2013 +0300
@@ -93,7 +93,7 @@
 	string_t *hash = t_str_new(20);
 	unsigned char result[MD5_RESULTLEN];
 	unsigned int i;
-	uint64_t value;
+	uint64_t value = 0;
 
 	md5_get_digest(str, strlen(str), result);
 	for (i = 0; i < sizeof(value); i++) {


More information about the dovecot-cvs mailing list