summaryrefslogtreecommitdiffstats
path: root/httpd-2.4.4-mod_cache-tmppath.patch
blob: 7f7009898e6feb0c25aaf1f1b1e497adca83909e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/modules/cache/mod_cache.c	
+++ a/modules/cache/mod_cache.c	
@@ -1773,7 +1773,7 @@ static void *merge_dir_config(apr_pool_t *p, void *basev, void *addv) {
 
 static void * create_cache_config(apr_pool_t *p, server_rec *s)
 {
-    const char *tmppath;
+    const char *tmppath = NULL;
     cache_server_conf *ps = apr_pcalloc(p, sizeof(cache_server_conf));
 
     /* array of URL prefixes for which caching is enabled */