httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r961004 - /httpd/httpd/trunk/modules/aaa/mod_auth_form.c
Date Tue, 06 Jul 2010 20:11:31 GMT
Author: sf
Date: Tue Jul  6 20:11:30 2010
New Revision: 961004

URL: http://svn.apache.org/viewvc?rev=961004&view=rev
Log:
Fix segfault

Modified:
    httpd/httpd/trunk/modules/aaa/mod_auth_form.c

Modified: httpd/httpd/trunk/modules/aaa/mod_auth_form.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_auth_form.c?rev=961004&r1=961003&r2=961004&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_auth_form.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_auth_form.c Tue Jul  6 20:11:30 2010
@@ -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;
 }



Mime
View raw message