httpd/httpd-2.4.4-mod_cache-tmppath.patch
Jan Kaluza 46396bf734 htpasswd/htdbm: fix hash generation bug (#956344)
- do not dump vhosts twice in httpd -S output (#928761)
- mod_cache: fix potential crash caused by uninitialized variable (#954109)
2013-05-20 09:54:07 +02:00

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