You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2015/06/01 22:10:02 UTC

svn commit: r1682988 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Author: jailletc36
Date: Mon Jun  1 20:10:01 2015
New Revision: 1682988

URL: http://svn.apache.org/r1682988
Log:
Initialize args to not print garbage mem during a RewriteCond parse error (same as r1681795 for RewriteRule)

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1682988&r1=1682987&r2=1682988&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Mon Jun  1 20:10:01 2015
@@ -3286,9 +3286,7 @@ static const char *cmd_rewritecond(cmd_p
     rewrite_server_conf *sconf;
     rewritecond_entry *newcond;
     ap_regex_t *regexp;
-    char *a1;
-    char *a2;
-    char *a3;
+    char *a1 = NULL, *a2 = NULL, *a3 = NULL;
     const char *err;
 
     sconf = ap_get_module_config(cmd->server->module_config, &rewrite_module);