dovecot-2.0-sslstream: lmtp: Don't crash if LHLO isn't given.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 13 02:56:02 EET 2010
details: http://hg.dovecot.org/dovecot-2.0-sslstream/rev/584e848fc957
changeset: 10259:584e848fc957
user: Timo Sirainen <tss at iki.fi>
date: Thu Nov 05 17:57:53 2009 -0500
description:
lmtp: Don't crash if LHLO isn't given.
diffstat:
1 file changed, 1 insertion(+)
src/lmtp/client.c | 1 +
diffs (11 lines):
diff -r 597f969a9870 -r 584e848fc957 src/lmtp/client.c
--- a/src/lmtp/client.c Thu Nov 05 17:55:36 2009 -0500
+++ b/src/lmtp/client.c Thu Nov 05 17:57:53 2009 -0500
@@ -220,6 +220,7 @@ struct client *client_create(int fd_in,
client_read_settings(client);
client_raw_user_create(client);
client_generate_session_id(client);
+ client->state.lhlo = "missing";
DLLIST_PREPEND(&clients, client);
clients_count++;
More information about the dovecot-cvs
mailing list