]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: Fixed userdb extra fields handling in passdb failure.
authorTimo Sirainen <tss@iki.fi>
Fri, 2 May 2014 08:40:05 +0000 (11:40 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 2 May 2014 08:40:05 +0000 (11:40 +0300)
commitbddb1ba6c9046d35f35cc6d71839bb4baa0879e8
tree9451cf3df766476902dfaffeb310558ec2cc80a1
parentbe48f0e5693530f97f60c6f9dce8c8c08a38b584
auth: Fixed userdb extra fields handling in passdb failure.
userdb prefetch -flag wasn't correctly set, causing the prefetch userdb in
some situations incorrectly either to be called or not be called.

This also fixes a crash when using userdb static and multiple passdbs. The
userdb_reply was set to NULL, which caused a crash later.
src/auth/auth-request.c
src/auth/auth-request.h