From e81a47bd0b8bb5b3d50b233a802e9930c08a98fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 31 Jul 2024 16:21:52 +0000 Subject: [PATCH] Support for bind 9.18.28 New CVEs introduced new database interface change. Do just minimal change to allow fast rebuild of plugin. Fixes #233. Notice: openEuler's bind majar version is still 9.18.21, but contains CVE fixed in upstream 9.18.28, so change LIBDNS_VERSION_MAJOR from 1828 to 1821. --- src/ldap_driver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ldap_driver.c b/src/ldap_driver.c index 20e12fc..63e7a72 100644 --- a/src/ldap_driver.c +++ b/src/ldap_driver.c @@ -976,6 +976,10 @@ static dns_dbmethods_t ldapdb_methods = { #if LIBDNS_VERSION_MAJOR >= 1606 && LIBDNS_VERSION_MAJOR < 1720 adjusthashsize, /* adjusthashsize */ #endif +#if LIBDNS_VERSION_MAJOR >= 1821 + NULL, /* setmaxrrperset */ + NULL, /* setmaxtypepername */ +#endif }; isc_result_t ATTR_NONNULLS -- 2.43.0