]> granicus.if.org Git - apache/commitdiff
initialize args to not print garbage mem during a RewriteRule parse error
authorEric Covener <covener@apache.org>
Tue, 26 May 2015 17:24:13 +0000 (17:24 +0000)
committerEric Covener <covener@apache.org>
Tue, 26 May 2015 17:24:13 +0000 (17:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1681795 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index f59a5a211329f50344c57d3a3a955ce96a320eb8..fe10ab1e7689936c8e9c67f16ec55a47c5c153d6 100644 (file)
@@ -3712,9 +3712,7 @@ static const char *cmd_rewriterule(cmd_parms *cmd, void *in_dconf,
     rewrite_server_conf *sconf;
     rewriterule_entry *newrule;
     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);