]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_auth_digest: fix crash on ONE_PROCESS (debug) mode shutdown.
authorYann Ylavic <ylavic@apache.org>
Mon, 23 Nov 2020 11:14:56 +0000 (11:14 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 23 Nov 2020 11:14:56 +0000 (11:14 +0000)
commitb38ae52ac47bed44f8cb7f6256f0d40767a3b787
treeb2fa42404079ef9ff58b20d0da99d14bf0743ee2
parent79739abe6661dd7a2bebb731c7b7c1478233f1da
mod_auth_digest: fix crash on ONE_PROCESS (debug) mode shutdown.

There need to be separate global variables for rmm and mutex(es) in the parent
and child processes, otherwise in ONE_PROCCESS (were clean_child_exit() and
ap_terminate() execute in the same process) the variables get overwritten in
child_init and freed twice when pchild and then pconf are destroyed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883745 13f79535-47bb-0310-9956-ffa450edef68
modules/aaa/mod_auth_digest.c