httpd/httpd-2.4.4-mod_cache-tmppath.patch

12 lines
425 B
Diff
Raw Normal View History

--- 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 */