[dovecot-cvs] dovecot/src/auth auth-request.c,1.22,1.23

cras at dovecot.org cras at dovecot.org
Sat May 28 15:34:26 EEST 2005


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv7474

Modified Files:
	auth-request.c 
Log Message:
auth_request_set_field() shouldn't save password to extra_fields. Fixes a
crash with auth_cache enabled and at least with SQL/LDAP passdbs.



Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- auth-request.c	17 May 2005 09:34:38 -0000	1.22
+++ auth-request.c	28 May 2005 12:34:24 -0000	1.23
@@ -451,6 +451,7 @@
 				p_strdup_printf(request->pool, "{%s}%s",
 						default_scheme, value);
 		}
+		return;
 	}
 
 	if (strcmp(name, "user") == 0) {



More information about the dovecot-cvs mailing list