dovecot-2.0: login: Fixed potential assert-crash during failed p...

dovecot at dovecot.org dovecot at dovecot.org
Fri Nov 26 19:46:52 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e9b90ff13910
changeset: 12474:e9b90ff13910
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Nov 26 17:46:49 2010 +0000
description:
login: Fixed potential assert-crash during failed proxy authentication.

diffstat:

 src/login-common/client-common-auth.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r fe8e82b5bff9 -r e9b90ff13910 src/login-common/client-common-auth.c
--- a/src/login-common/client-common-auth.c	Fri Nov 26 17:31:00 2010 +0000
+++ b/src/login-common/client-common-auth.c	Fri Nov 26 17:46:49 2010 +0000
@@ -24,7 +24,7 @@
 {
 	i_free_and_null(client->master_data_prefix);
 
-	if (client->auth_initializing)
+	if (client->auth_initializing || client->destroyed)
 		return;
 
 	if (client->io != NULL)


More information about the dovecot-cvs mailing list