]> granicus.if.org Git - apache/commit
Fix the rest of the apr_pool_userdata_setn() bogosity w.r.t. DSO modules.
authorCliff Woolley <jwoolley@apache.org>
Sat, 25 May 2002 20:10:55 +0000 (20:10 +0000)
committerCliff Woolley <jwoolley@apache.org>
Sat, 25 May 2002 20:10:55 +0000 (20:10 +0000)
commitcbd2377769bd8312221927d059d3d7e2712dc380
treebcfd9bf57e0754b0db968324b60830ad213b4d9a
parent56f71e448c865a231bd2a5bab2f463eca45c1329
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 <nazonazo@super.win.ne.jp>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95287 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/generators/mod_suexec.c
modules/ssl/ssl_scache.c