dovecot-2.2: auth: Previous change caused crashing with userdb l...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 20 03:26:35 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/9da556b9a902
changeset: 14544:9da556b9a902
user: Timo Sirainen <tss at iki.fi>
date: Sun May 06 06:44:04 2012 +0300
description:
auth: Previous change caused crashing with userdb lookups
diffstat:
src/auth/auth-request.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 3d8a25a4394d -r 9da556b9a902 src/auth/auth-request.c
--- a/src/auth/auth-request.c Sat May 05 00:01:32 2012 +0300
+++ b/src/auth/auth-request.c Sun May 06 06:44:04 2012 +0300
@@ -1833,7 +1833,8 @@
auth_request);
}
}
- tab[18].value = escape_func(auth_request->session_id, auth_request);
+ tab[18].value = auth_request->session_id == NULL ? NULL :
+ escape_func(auth_request->session_id, auth_request);
return tab;
}
More information about the dovecot-cvs
mailing list