dovecot-2.0: lmtp: Don't crash if LHLO isn't given.
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Fri Nov  6 00:57:58 EET 2009
    
    
  
details:   http://hg.dovecot.org/dovecot-2.0/rev/584e848fc957
changeset: 10258: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