From cbd2377769bd8312221927d059d3d7e2712dc380 Mon Sep 17 00:00:00 2001 From: Cliff Woolley Date: Sat, 25 May 2002 20:10:55 +0000 Subject: [PATCH] Fix the rest of the apr_pool_userdata_setn() bogosity w.r.t. DSO modules. It's totally unsafe to use apr_pool_userdata_setn() in the post_config phase of a module, since on some platforms when the DSO gets reloaded between phases, the data segment will be at a different address on the second phase and the userdata_get() call will fail. PR: 9413 Submitted by: Tsuyoshi Sasamoto git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95287 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 6 ++++++ modules/generators/mod_suexec.c | 4 ++-- modules/ssl/ssl_scache.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index b1947482b8..0861f4b4fb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,11 @@ Changes with Apache 2.0.37 + *) Fix segfaults at startup on some platforms when mod_auth_digest, + mod_suexec, or mod_ssl were used as DSO's due to the way they + were tracking the current init phase since DSO's get completely + unloaded and reloaded between phases. PR 9413. + [Tsuyoshi Sasamoto , Brad Nicholes] + *) Fix mod_include's handling of regular expressions in "