]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Fixed accessing uninitialized memory.
authorTimo Sirainen <tss@iki.fi>
Mon, 9 Nov 2009 18:42:59 +0000 (13:42 -0500)
committerTimo Sirainen <tss@iki.fi>
Mon, 9 Nov 2009 18:42:59 +0000 (13:42 -0500)
--HG--
branch : HEAD

src/lmtp/commands.c

index ec3f595e2ab87d1d752bf2c10a4b5467086751a5..8cfc9aba168e02d1e06889b954d4ee3346399dab 100644 (file)
@@ -37,7 +37,7 @@ int cmd_lhlo(struct client *client, const char *args)
        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");