From: Eric Covener Date: Tue, 26 May 2015 17:24:13 +0000 (+0000) Subject: initialize args to not print garbage mem during a RewriteRule parse error X-Git-Tag: 2.5.0-alpha~3122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e4745c7a6694a7a00f79042e393f31bcf7766bd;p=apache initialize args to not print garbage mem during a RewriteRule parse error git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1681795 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index f59a5a2113..fe10ab1e76 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -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);