]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
var_expand(): Fixed initializing variable to %N
authorTimo Sirainen <tss@iki.fi>
Thu, 6 Jun 2013 13:43:01 +0000 (16:43 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 6 Jun 2013 13:43:01 +0000 (16:43 +0300)
src/lib/var-expand.c

index 4eab9b666bb5297e864f9ece2a332f901271e157..e8ad5e860270da66d2d0a43c25a134e950f132c9 100644 (file)
@@ -93,7 +93,7 @@ m_str_newhash(const char *str, struct var_expand_context *ctx)
        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++) {