dovecot-2.0: login: tcpwrappers change caused crashes at startup.

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 9 18:34:37 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/9f0c4800cb13
changeset: 10682:9f0c4800cb13
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 09 18:34:33 2010 +0200
description:
login: tcpwrappers change caused crashes at startup.

diffstat:

1 file changed, 2 insertions(+)
src/login-common/main.c |    2 ++

diffs (12 lines):

diff -r 912ef25c2dcf -r 9f0c4800cb13 src/login-common/main.c
--- a/src/login-common/main.c	Tue Feb 09 18:12:50 2010 +0200
+++ b/src/login-common/main.c	Tue Feb 09 18:34:33 2010 +0200
@@ -153,6 +153,8 @@ static void login_access_lookup_next(str
 {
 	if (*lookup->next_socket == NULL) {
 		/* last one */
+		if (lookup->io != NULL)
+			io_remove(&lookup->io);
 		client_connected_finish(&lookup->conn);
 		lookup->conn.fd = -1;
 		login_access_lookup_free(lookup);


More information about the dovecot-cvs mailing list