dovecot-2.0-sslstream: lmtp: Fixed accessing uninitialized memory.

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:56:08 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/2526861b8417
changeset: 10276:2526861b8417
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 09 13:42:59 2009 -0500
description:
lmtp: Fixed accessing uninitialized memory.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lmtp/commands.c |    2 +-

diffs (12 lines):

diff -r 409c782237d2 -r 2526861b8417 src/lmtp/commands.c
--- a/src/lmtp/commands.c	Mon Nov 09 13:42:34 2009 -0500
+++ b/src/lmtp/commands.c	Mon Nov 09 13:42:59 2009 -0500
@@ -37,7 +37,7 @@ int cmd_lhlo(struct client *client, cons
 	struct rfc822_parser_context parser;
 	string_t *domain = t_str_new(128);
 	const char *p;
-	int ret;
+	int ret = 0;
 
 	if (*args == '\0') {
 		client_send_line(client, "501 Missing hostname");


More information about the dovecot-cvs mailing list