From 89f35a46fa5c55ffb93f9ca0702460f83e028a7e Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sun, 31 Mar 2013 20:17:44 +0000 Subject: [PATCH] if shm initialization fails, reset client_list to avoid crashes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463047 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/aaa/mod_auth_digest.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index 17b4dc0ebc1..37b9bf5eae3 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + + *) mod_auth_digest: Fix crashes if shm initialization failed. [Stefan + Fritsch] *) mod_cache_disk: CacheMinFileSize and CacheMaxFileSize were always using compiled in defaults of 1000000/1 respectively. [Eric Covener] diff --git a/modules/aaa/mod_auth_digest.c b/modules/aaa/mod_auth_digest.c index 70703b9c5ef..987e5b5b045 100644 --- a/modules/aaa/mod_auth_digest.c +++ b/modules/aaa/mod_auth_digest.c @@ -223,6 +223,8 @@ static apr_status_t cleanup_tables(void *not_used) opaque_lock = NULL; } + client_list = NULL; + return APR_SUCCESS; } -- 2.47.3