mod_auth_gssapi/0001-DO-NOT-MERGE-disable-the-mag_verify_config-check.patch
Adam Williamson e518ba1bd3 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.
2022-08-27 12:23:34 -07:00

31 lines
1.0 KiB
Diff

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