summaryrefslogtreecommitdiffstats
path: root/httpd-2.4.4-mod_cache-tmppath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'httpd-2.4.4-mod_cache-tmppath.patch')
-rw-r--r--httpd-2.4.4-mod_cache-tmppath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/httpd-2.4.4-mod_cache-tmppath.patch b/httpd-2.4.4-mod_cache-tmppath.patch
new file mode 100644
index 0000000..7f70098
--- /dev/null
+++ b/httpd-2.4.4-mod_cache-tmppath.patch
@@ -0,0 +1,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 */