]> granicus.if.org Git - apache/commitdiff
Initialize args to not print garbage mem during a RewriteCond parse error (same as...
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 1 Jun 2015 20:10:01 +0000 (20:10 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 1 Jun 2015 20:10:01 +0000 (20:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1682988 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index fe10ab1e7689936c8e9c67f16ec55a47c5c153d6..a4f5efceec1eea80dd2899c69331a81f3039bba8 100644 (file)
@@ -3286,9 +3286,7 @@ static const char *cmd_rewritecond(cmd_parms *cmd, void *in_dconf,
     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);