summaryrefslogtreecommitdiff
path: root/0005-CVE-2024-6237.patch
diff options
context:
space:
mode:
Diffstat (limited to '0005-CVE-2024-6237.patch')
-rw-r--r--0005-CVE-2024-6237.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0005-CVE-2024-6237.patch b/0005-CVE-2024-6237.patch
new file mode 100644
index 0000000..780cfa8
--- /dev/null
+++ b/0005-CVE-2024-6237.patch
@@ -0,0 +1,25 @@
+From 323f74c69f84a8482413ecd73cf61d09cfc4a0a1 Mon Sep 17 00:00:00 2001
+From: Thierry Bordaz <tbordaz@redhat.com>
+Date: Mon, 24 Jun 2024 15:51:28 +0200
+Subject: [PATCH] CVE-2024-6237
+
+---
+ ldap/servers/plugins/syntaxes/inchain.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ldap/servers/plugins/syntaxes/inchain.c b/ldap/servers/plugins/syntaxes/inchain.c
+index df19c973b..0a6a04e9f 100644
+--- a/ldap/servers/plugins/syntaxes/inchain.c
++++ b/ldap/servers/plugins/syntaxes/inchain.c
+@@ -277,7 +277,7 @@ inchain_values2keys(Slapi_PBlock *pb, Slapi_Value **vals, Slapi_Value ***ivals,
+ slapi_pblock_get(pb, SLAPI_SEARCH_TARGET_SDN, &base_sdn);
+
+ if (! slapi_attr_is_dn_syntax_type(mrTYPE)) {
+- slapi_log_err(SLAPI_LOG_ERR, "inchain", "Requires distinguishedName syntax. AttributeDescription %s is not distinguishedName\n");
++ slapi_log_err(SLAPI_LOG_ERR, "inchain", "Requires distinguishedName syntax. AttributeDescription %s is not distinguishedName\n", mrTYPE);
+ result = (Slapi_Value **)slapi_ch_calloc(1, sizeof(Slapi_Value *));
+ *ivals = result;
+ return(0);
+--
+2.44.0
+