From: Greg Hudson Date: Sat, 4 Sep 2010 14:50:27 +0000 (+0000) Subject: In k5_pwqual_load(), if the last vtable initializer fails, return 0 X-Git-Tag: krb5-1.9-beta1~108 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=916b16bc06dc11e645a8d75749eb4e3229cc5dc7;p=krb5.git In k5_pwqual_load(), if the last vtable initializer fails, return 0 and not its exit value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24290 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/srv/pwqual.c b/src/lib/kadm5/srv/pwqual.c index 0beb62701..86aa2d43b 100644 --- a/src/lib/kadm5/srv/pwqual.c +++ b/src/lib/kadm5/srv/pwqual.c @@ -83,6 +83,7 @@ k5_pwqual_load(krb5_context context, const char *dict_file, } list[count] = NULL; + ret = 0; *handles_out = list; list = NULL;