summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_perl/files/debian/320-cleanup-authn-authz-providers.patch')
-rw-r--r--www-apache/mod_perl/files/debian/320-cleanup-authn-authz-providers.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/www-apache/mod_perl/files/debian/320-cleanup-authn-authz-providers.patch b/www-apache/mod_perl/files/debian/320-cleanup-authn-authz-providers.patch
deleted file mode 100644
index 0a2f0a7..0000000
--- a/www-apache/mod_perl/files/debian/320-cleanup-authn-authz-providers.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 75662f4285bad8d28fe787d1293bdd95a535cad1 Mon Sep 17 00:00:00 2001
-From: Niko Tyni <ntyni@debian.org>
-Date: Fri, 14 Jun 2013 14:07:22 +0300
-Subject: [PATCH] Make sure authn and authz providers are cleaned up in time
-
-The authn and authz providers need to be registered in the configuration
-pool rather than the server process pool. The latter outlives the load
-time of the mod_perl shared object, so cleanup hooks could get called
-after the registered functions were unloaded, causing SIGSEGVs and other
-undefined behaviour.
-
-Fix suggested by Stefan Fritsch.
-
-Bug-Debian: http://bugs.debian.org/711213
----
- src/modules/perl/modperl_cmd.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/modules/perl/modperl_cmd.c b/src/modules/perl/modperl_cmd.c
-index 4ae0a62..d14b330 100644
---- a/src/modules/perl/modperl_cmd.c
-+++ b/src/modules/perl/modperl_cmd.c
-@@ -419,7 +419,7 @@ MP_CMD_SRV_DECLARE(init_handlers)
-
- MP_CMD_SRV_DECLARE2(authz_provider)
- {
-- apr_pool_t *p = parms->server->process->pool;
-+ apr_pool_t *p = parms->pool;
- char *name = apr_pstrdup(p, arg1);
- char *cb = apr_pstrdup(p, arg2);
-
-@@ -431,7 +431,7 @@ MP_CMD_SRV_DECLARE2(authz_provider)
-
- MP_CMD_SRV_DECLARE2(authn_provider)
- {
-- apr_pool_t *p = parms->server->process->pool;
-+ apr_pool_t *p = parms->pool;
- char *name = apr_pstrdup(p, arg1);
- char *cb = apr_pstrdup(p, arg2);
-
---
-1.7.10.4
-