Disable a check added in 1.6.4 which causes crashes (#2121952)
This is a workaround not a fix, the check should be fixed. But this prevents crashes in the mod which break FreeIPA.
This commit is contained in:
parent
68df4ac0d2
commit
e518ba1bd3
30
0001-DO-NOT-MERGE-disable-the-mag_verify_config-check.patch
Normal file
30
0001-DO-NOT-MERGE-disable-the-mag_verify_config-check.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
From 5937938ca5122660860000e23c1c1275fb66c59b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Adam Williamson <awilliam@redhat.com>
|
||||||
|
Date: Sat, 27 Aug 2022 11:45:06 -0700
|
||||||
|
Subject: [PATCH] DO NOT MERGE: disable the mag_verify_config check
|
||||||
|
|
||||||
|
This is for downstream, a quick fix for
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=2121952 . Proper fix
|
||||||
|
would be to fix the crash.
|
||||||
|
|
||||||
|
Signed-off-by: Adam Williamson <awilliam@redhat.com>
|
||||||
|
---
|
||||||
|
src/mod_auth_gssapi.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c
|
||||||
|
index 99de884..32970b4 100644
|
||||||
|
--- a/src/mod_auth_gssapi.c
|
||||||
|
+++ b/src/mod_auth_gssapi.c
|
||||||
|
@@ -763,7 +763,7 @@ struct mag_req_cfg *mag_init_cfg(request_rec *req)
|
||||||
|
req_cfg->req = req;
|
||||||
|
req_cfg->cfg = ap_get_module_config(req->per_dir_config,
|
||||||
|
&auth_gssapi_module);
|
||||||
|
- mag_verify_config(req, req_cfg->cfg);
|
||||||
|
+// mag_verify_config(req, req_cfg->cfg);
|
||||||
|
|
||||||
|
scfg = ap_get_module_config(req->server->module_config,
|
||||||
|
&auth_gssapi_module);
|
||||||
|
--
|
||||||
|
2.37.2
|
||||||
|
|
@ -6,6 +6,8 @@ Summary: A GSSAPI Authentication module for Apache
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/gssapi/mod_auth_gssapi
|
URL: https://github.com/gssapi/mod_auth_gssapi
|
||||||
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz
|
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz
|
||||||
|
# Disable a check added in 1.6.4 which causes crashes
|
||||||
|
Patch0: 0001-DO-NOT-MERGE-disable-the-mag_verify_config-check.patch
|
||||||
|
|
||||||
BuildRequires: httpd-devel, krb5-devel, openssl-devel
|
BuildRequires: httpd-devel, krb5-devel, openssl-devel
|
||||||
BuildRequires: autoconf, automake, libtool, bison, flex, make
|
BuildRequires: autoconf, automake, libtool, bison, flex, make
|
||||||
|
Loading…
Reference in New Issue
Block a user