diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:41:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:41:46 +0000 |
commit | b373ebf903f259c520d0767f07976389a6f92f74 (patch) | |
tree | 0ecee58642f486a9fdd83ab02f3e3b98875cb57a /bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch | |
parent | 4f8d731574eaa01a6386b1c4d4350067b31ed898 (diff) |
automatic import of bind-dyndb-ldapopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch')
-rw-r--r-- | bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch b/bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch new file mode 100644 index 0000000..0272ebf --- /dev/null +++ b/bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch @@ -0,0 +1,24 @@ +diff --git a/src/mldap.c b/src/mldap.c +index 92a330c..79efddb 100644 +--- a/src/mldap.c ++++ b/src/mldap.c +@@ -50,18 +50,7 @@ + static unsigned char uuid_rootname_ndata[] + = { 4, 'u', 'u', 'i', 'd', 4, 'l', 'd', 'a', 'p', 0 }; + static unsigned char uuid_rootname_offsets[] = { 0, 5, 10 }; +-static dns_name_t uuid_rootname = +-{ +- DNS_NAME_MAGIC, +- uuid_rootname_ndata, +- sizeof(uuid_rootname_ndata), +- sizeof(uuid_rootname_offsets), +- DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE, +- uuid_rootname_offsets, +- NULL, +- { (void *)-1, (void *)-1 }, +- { NULL, NULL } +-}; ++static dns_name_t uuid_rootname = DNS_NAME_INITABSOLUTE(uuid_rootname_ndata, uuid_rootname_offsets); + + struct mldapdb { + isc_mem_t *mctx; |