dovecot-2.2: auth: LDAP errors may have crashed the auth process.
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 7 17:24:56 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/f32e7ca24292
changeset: 17341:f32e7ca24292
user: Timo Sirainen <tss at iki.fi>
date: Wed May 07 20:24:05 2014 +0300
description:
auth: LDAP errors may have crashed the auth process.
diffstat:
src/auth/db-ldap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0e8ddc1bfe8d -r f32e7ca24292 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c Wed May 07 20:21:02 2014 +0300
+++ b/src/auth/db-ldap.c Wed May 07 20:24:05 2014 +0300
@@ -816,7 +816,7 @@
if (res != NULL && srequest != NULL && srequest->result != NULL)
request->callback(conn, request, srequest->result->msg);
- request->callback(conn, request, res->msg);
+ request->callback(conn, request, res == NULL ? NULL : res->msg);
} T_END;
if (idx > 0) {
More information about the dovecot-cvs
mailing list