From: Stefan Fritsch Date: Tue, 6 Jul 2010 20:11:30 +0000 (+0000) Subject: Fix segfault X-Git-Tag: 2.3.7~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0e27b9a553eda5841ff1111f1a21b222873cbb9;p=apache Fix segfault git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@961004 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_form.c b/modules/aaa/mod_auth_form.c index 073c7d4852..a5bd2a3bc0 100644 --- a/modules/aaa/mod_auth_form.c +++ b/modules/aaa/mod_auth_form.c @@ -671,7 +671,8 @@ static int get_form_auth(request_rec * r, * save away the username, password, mimetype and method, so that they * are available should the auth need to be run again. */ - set_notes_auth(r, *sent_user, *sent_pw, *sent_method, *sent_mimetype); + set_notes_auth(r, *sent_user, *sent_pw, sent_method ? *sent_method : NULL, + sent_mimetype ? *sent_mimetype : NULL); return OK; }