From: Christophe Jaillet Date: Mon, 1 Jun 2015 20:10:01 +0000 (+0000) Subject: Initialize args to not print garbage mem during a RewriteCond parse error (same as... X-Git-Tag: 2.5.0-alpha~3110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc2bb62c4b667fac553d9f189507b6c7e071864d;p=thirdparty%2Fapache%2Fhttpd.git Initialize args to not print garbage mem during a RewriteCond parse error (same as r1681795 for RewriteRule) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1682988 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index fe10ab1e768..a4f5efceec1 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -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);