[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot-cvs
Subject: dovecot-2.2: auth: Fixed crash/NULL error if auth_verbose_passwo...
From: dovecot () dovecot ! org (dovecot at dovecot ! org)
Date: 2014-02-07 20:54:04
Message-ID: hg.afd3cfcf1bcb.1391806444.6920021320469856403 () talvi
[Download RAW message or body]
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,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic