From: Roy T. Fielding Date: Sat, 10 May 2008 06:44:44 +0000 (+0000) Subject: fix uninitialized variable X-Git-Tag: 2.3.0~648 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45e2cb08b41ba34f38786c2f4c197bb167835dbd;p=apache fix uninitialized variable git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@655017 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_form.c b/modules/aaa/mod_auth_form.c index 55114e7ab0..d8228e7cca 100644 --- a/modules/aaa/mod_auth_form.c +++ b/modules/aaa/mod_auth_form.c @@ -868,6 +868,9 @@ static int authenticate_form_authn(request_rec * r) res = get_session_auth(r, &sent_user, &sent_pw, &sent_hash); } + else { + res = APR_SUCCESS; + } /* first test whether the site passphrase matches */ if (APR_SUCCESS == res && sent_user && sent_hash && sent_pw) {