[dovecot-cvs] dovecot/src/auth auth-request.c,1.88,1.89
tss at dovecot.org
tss at dovecot.org
Wed Mar 7 02:14:46 EET 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv11612
Modified Files:
auth-request.c
Log Message:
Fixed a crash when non-plaintext mechanism used auth_cache.
Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- auth-request.c 19 Feb 2007 20:00:25 -0000 1.88
+++ auth-request.c 7 Mar 2007 00:14:44 -0000 1.89
@@ -507,6 +507,7 @@
i_assert(request->state == AUTH_REQUEST_STATE_MECH_CONTINUE);
request->credentials = credentials;
+ request->private_callback.lookup_credentials = callback;
cache_key = passdb_cache == NULL ? NULL : passdb->cache_key;
if (cache_key != NULL) {
@@ -523,7 +524,6 @@
}
request->state = AUTH_REQUEST_STATE_PASSDB;
- request->private_callback.lookup_credentials = callback;
if (passdb->blocking)
passdb_blocking_lookup_credentials(request);
More information about the dovecot-cvs
mailing list