dovecot-2.2: auth: Fixed crash/NULL error if auth_verbose_passwo...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Feb 7 20:54:04 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/afd3cfcf1bcb
changeset: 17138:afd3cfcf1bcb
user: Timo Sirainen <tss at iki.fi>
date: Fri Feb 07 15:53:32 2014 -0500
description:
auth: Fixed crash/NULL error if auth_verbose_passwords had an invalid value.
diffstat:
src/auth/auth-settings.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r ff81b3f52e8f -r afd3cfcf1bcb src/auth/auth-settings.c
--- a/src/auth/auth-settings.c Fri Feb 07 15:44:10 2014 -0500
+++ b/src/auth/auth-settings.c Fri Feb 07 15:53:32 2014 -0500
@@ -351,8 +351,10 @@
return TRUE;
else if (strcmp(value, "sha1") == 0)
return TRUE;
- else
+ else {
+ *error_r = "auth_verbose_passwords: Invalid value";
return FALSE;
+ }
}
static bool auth_settings_check(void *_set, pool_t pool,
More information about the dovecot-cvs
mailing list