46396bf734
- do not dump vhosts twice in httpd -S output (#928761) - mod_cache: fix potential crash caused by uninitialized variable (#954109)
12 lines
425 B
Diff
12 lines
425 B
Diff
--- 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 */
|