]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commit0deea1d6cf222263dfe615cd196fcc1a9805e012
treebcfd9bf57e0754b0db968324b60830ad213b4d9a
parent170ac28ef3eddb619e3f82e3f434a6b8ccc14867
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