]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
initialize local condition_var var to keep garbage out of struct
authorJeff Trawick <trawick@apache.org>
Wed, 6 Jun 2001 10:43:46 +0000 (10:43 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 6 Jun 2001 10:43:46 +0000 (10:43 +0000)
header_entry->condition_var and avoid a segfault later

(untested, but it looks good to me :) )

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89273 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_headers.c

index c41b98b33f8a3493ea9c8c411372d456bd8b6a2c..ebd0901e028f9559c5b3fe8c7a7823098047ca67 100644 (file)
@@ -342,7 +342,7 @@ static const char *header_inout_cmd(hdr_inout inout, cmd_parms *cmd, void *indir
                               const char *value, const char* envclause)
 {
     headers_conf *dirconf = indirconf;
-    const char *condition_var;
+    const char *condition_var = NULL;
     char *colon;
     char *hdr = apr_pstrdup(cmd->pool, inhdr);
     header_entry *new;