dovecot-2.0-sslstream: lmtp client: Don't crash if lmtp_client_s...

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


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/c9f5b2734710
changeset: 10389:c9f5b2734710
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 23 13:16:38 2009 -0500
description:
lmtp client: Don't crash if lmtp_client_send_more() is called after failure.

diffstat:

1 file changed, 1 insertion(+)
src/lib-lda/lmtp-client.c |    1 +

diffs (11 lines):

diff -r f34528b52196 -r c9f5b2734710 src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c	Mon Nov 23 12:51:07 2009 -0500
+++ b/src/lib-lda/lmtp-client.c	Mon Nov 23 13:16:38 2009 -0500
@@ -97,6 +97,7 @@ static void lmtp_client_close(struct lmt
 	}
 	if (client->data_input != NULL)
 		i_stream_unref(&client->data_input);
+	client->output_finished = TRUE;
 }
 
 static void lmtp_client_ref(struct lmtp_client *client)


More information about the dovecot-cvs mailing list