45c707
From 107c5ed7247788a04a23d6c65fca50f96c944345 Mon Sep 17 00:00:00 2001
45c707
From: Tomas Krizek <tkrizek@redhat.com>
45c707
Date: Tue, 27 Jun 2017 10:41:03 +0200
45c707
Subject: [PATCH] Add empty callback for getsize
45c707
45c707
BIND introduced getsize method in db.h. This is related to
45c707
CVE-2016-6170 and allows to set restriction of zone size limit.
45c707
45c707
Signed-off-by: Tomas Krizek <tkrizek@redhat.com>
45c707
---
45c707
 src/ldap_driver.c | 3 ++-
45c707
 1 file changed, 2 insertions(+), 1 deletion(-)
45c707
45c707
diff --git a/src/ldap_driver.c b/src/ldap_driver.c
45c707
index 53ce1a9..38673b0 100644
45c707
--- a/src/ldap_driver.c
45c707
+++ b/src/ldap_driver.c
45c707
@@ -867,7 +867,8 @@ static dns_dbmethods_t ldapdb_methods = {
45c707
 	findext,
45c707
 	setcachestats,
45c707
 	hashsize,
45c707
-	nodefullname
45c707
+	nodefullname,
45c707
+	NULL, // getsize method not implemented (related BZ1353563)
45c707
 };
45c707
 
45c707
 isc_result_t ATTR_NONNULLS
45c707
-- 
45c707
2.9.4
45c707