From e0e27b9a553eda5841ff1111f1a21b222873cbb9 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Tue, 6 Jul 2010 20:11:30 +0000 Subject: [PATCH] Fix segfault git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@961004 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_auth_form.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.40.0