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