dovecot-2.2: lib-auth: Fixed infinite looping if user listing fa...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 21 05:03:25 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/09f5e8d6b8d4
changeset: 16796:09f5e8d6b8d4
user: Timo Sirainen <tss at iki.fi>
date: Sat Sep 21 04:48:52 2013 +0300
description:
lib-auth: Fixed infinite looping if user listing failed because auth process disconnected.
diffstat:
src/lib-auth/auth-master.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7a4ae8d511a2 -r 09f5e8d6b8d4 src/lib-auth/auth-master.c
--- a/src/lib-auth/auth-master.c Sat Sep 21 04:02:51 2013 +0300
+++ b/src/lib-auth/auth-master.c Sat Sep 21 04:48:52 2013 +0300
@@ -713,7 +713,7 @@
io_loop_set_current(ctx->conn->prev_ioloop);
}
- if (ctx->finished || ctx->failed)
+ if (ctx->finished || ctx->failed || ctx->conn->aborted)
return NULL;
return str_c(ctx->username);
}
More information about the dovecot-cvs
mailing list