summaryrefslogtreecommitdiff
path: root/0005-CVE-2024-6237.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 09:51:06 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 09:51:06 +0000
commit2818495d61950d06940ab2b0fe6032c56fe04353 (patch)
treeec5b27cc60e0eb46ab94c6eb8be8c341b5556af9 /0005-CVE-2024-6237.patch
parent0e890a8adf7c6a17c8e27c9a8a4d1a51ef5fd770 (diff)
automatic import of 389-ds-baseopeneuler24.03_LTSopeneuler23.09
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
+