dovecot-2.0: lib-master: Aborting master auth request caused a c...

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 7 04:20:57 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/2d8100dca18e
changeset: 11100:2d8100dca18e
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 07 04:13:12 2010 +0300
description:
lib-master: Aborting master auth request caused a crash.

diffstat:

 src/lib-master/master-auth.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r b93ae980b66b -r 2d8100dca18e src/lib-master/master-auth.c
--- a/src/lib-master/master-auth.c	Wed Apr 07 04:01:31 2010 +0300
+++ b/src/lib-master/master-auth.c	Wed Apr 07 04:13:12 2010 +0300
@@ -129,7 +129,9 @@
 
 	if (conn->tag != reply->tag)
 		i_error("Master sent reply with unknown tag %u", reply->tag);
-	else {
+	else if (conn->callback == NULL) {
+		/* request aborted */
+	} else {
 		conn->callback(reply, conn->context);
 		conn->callback = NULL;
 	}


More information about the dovecot-cvs mailing list