Blame SOURCES/bind-9.16-CVE-2022-3094-3.patch

7a7026
From 93b8bd39145566053ad8b22cef597146e9175ea4 Mon Sep 17 00:00:00 2001
7a7026
From: Evan Hunt <each@isc.org>
7a7026
Date: Tue, 8 Nov 2022 17:32:41 -0800
7a7026
Subject: [PATCH] move update ACL and update-policy checks before quota
7a7026
7a7026
check allow-update, update-policy, and allow-update-forwarding before
7a7026
consuming quota slots, so that unauthorized clients can't fill the
7a7026
quota.
7a7026
7a7026
(this moves the access check before the prerequisite check, which
7a7026
violates the precise wording of RFC 2136. however, RFC co-author Paul
7a7026
Vixie has stated that the RFC is mistaken on this point; it should have
7a7026
said that access checking must happen *no later than* the completion of
7a7026
prerequisite checks, not that it must happen exactly then.)
7a7026
7a7026
(cherry picked from commit 964f559edb5036880b8e463b8f190b9007ee055d)
7a7026
---
7a7026
 lib/ns/update.c | 335 ++++++++++++++++++++++++++----------------------
7a7026
 1 file changed, 181 insertions(+), 154 deletions(-)
7a7026
7a7026
diff --git a/lib/ns/update.c b/lib/ns/update.c
7a7026
index 9a8c309..036184b 100644
7a7026
--- a/lib/ns/update.c
7a7026
+++ b/lib/ns/update.c
7a7026
@@ -261,6 +261,9 @@ static void
7a7026
 forward_done(isc_task_t *task, isc_event_t *event);
7a7026
 static isc_result_t
7a7026
 add_rr_prepare_action(void *data, rr_t *rr);
7a7026
+static isc_result_t
7a7026
+rr_exists(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
7a7026
+	  const dns_rdata_t *rdata, bool *flag);
7a7026
 
7a7026
 /**************************************************************************/
7a7026
 
7a7026
@@ -333,25 +336,26 @@ inc_stats(ns_client_t *client, dns_zone_t *zone, isc_statscounter_t counter) {
7a7026
 static isc_result_t
7a7026
 checkqueryacl(ns_client_t *client, dns_acl_t *queryacl, dns_name_t *zonename,
7a7026
 	      dns_acl_t *updateacl, dns_ssutable_t *ssutable) {
7a7026
+	isc_result_t result;
7a7026
 	char namebuf[DNS_NAME_FORMATSIZE];
7a7026
 	char classbuf[DNS_RDATACLASS_FORMATSIZE];
7a7026
-	int level;
7a7026
-	isc_result_t result;
7a7026
+	bool update_possible =
7a7026
+		((updateacl != NULL && !dns_acl_isnone(updateacl)) ||
7a7026
+		 ssutable != NULL);
7a7026
 
7a7026
 	result = ns_client_checkaclsilent(client, NULL, queryacl, true);
7a7026
 	if (result != ISC_R_SUCCESS) {
7a7026
+		int level = update_possible ? ISC_LOG_ERROR : ISC_LOG_INFO;
7a7026
+
7a7026
 		dns_name_format(zonename, namebuf, sizeof(namebuf));
7a7026
 		dns_rdataclass_format(client->view->rdclass, classbuf,
7a7026
 				      sizeof(classbuf));
7a7026
 
7a7026
-		level = (updateacl == NULL && ssutable == NULL) ? ISC_LOG_INFO
7a7026
-								: ISC_LOG_ERROR;
7a7026
-
7a7026
 		ns_client_log(client, NS_LOGCATEGORY_UPDATE_SECURITY,
7a7026
 			      NS_LOGMODULE_UPDATE, level,
7a7026
 			      "update '%s/%s' denied due to allow-query",
7a7026
 			      namebuf, classbuf);
7a7026
-	} else if (updateacl == NULL && ssutable == NULL) {
7a7026
+	} else if (!update_possible) {
7a7026
 		dns_name_format(zonename, namebuf, sizeof(namebuf));
7a7026
 		dns_rdataclass_format(client->view->rdclass, classbuf,
7a7026
 				      sizeof(classbuf));
7a7026
@@ -1543,6 +1547,156 @@ send_update_event(ns_client_t *client, dns_zone_t *zone) {
7a7026
 	isc_result_t result = ISC_R_SUCCESS;
7a7026
 	update_event_t *event = NULL;
7a7026
 	isc_task_t *zonetask = NULL;
7a7026
+	dns_ssutable_t *ssutable = NULL;
7a7026
+	dns_message_t *request = client->message;
7a7026
+	dns_aclenv_t *env =
7a7026
+		ns_interfacemgr_getaclenv(client->manager->interface->mgr);
7a7026
+	dns_rdataclass_t zoneclass;
7a7026
+	dns_rdatatype_t covers;
7a7026
+	dns_name_t *zonename = NULL;
7a7026
+	dns_db_t *db = NULL;
7a7026
+	dns_dbversion_t *ver = NULL;
7a7026
+
7a7026
+	CHECK(dns_zone_getdb(zone, &db);;
7a7026
+	zonename = dns_db_origin(db);
7a7026
+	zoneclass = dns_db_class(db);
7a7026
+	dns_zone_getssutable(zone, &ssutable);
7a7026
+	dns_db_currentversion(db, &ver);
7a7026
+
7a7026
+	/*
7a7026
+	 * Update message processing can leak record existence information
7a7026
+	 * so check that we are allowed to query this zone.  Additionally,
7a7026
+	 * if we would refuse all updates for this zone, we bail out here.
7a7026
+	 */
7a7026
+	CHECK(checkqueryacl(client, dns_zone_getqueryacl(zone),
7a7026
+			    dns_zone_getorigin(zone),
7a7026
+			    dns_zone_getupdateacl(zone), ssutable));
7a7026
+
7a7026
+	/*
7a7026
+	 * Check requestor's permissions.
7a7026
+	 */
7a7026
+	if (ssutable == NULL) {
7a7026
+		CHECK(checkupdateacl(client, dns_zone_getupdateacl(zone),
7a7026
+				     "update", dns_zone_getorigin(zone), false,
7a7026
+				     false));
7a7026
+	} else if (client->signer == NULL && !TCPCLIENT(client)) {
7a7026
+		CHECK(checkupdateacl(client, NULL, "update",
7a7026
+				     dns_zone_getorigin(zone), false, true));
7a7026
+	}
7a7026
+
7a7026
+	if (dns_zone_getupdatedisabled(zone)) {
7a7026
+		FAILC(DNS_R_REFUSED, "dynamic update temporarily disabled "
7a7026
+				     "because the zone is frozen.  Use "
7a7026
+				     "'rndc thaw' to re-enable updates.");
7a7026
+	}
7a7026
+
7a7026
+	/*
7a7026
+	 * Prescan the update section, checking for updates that
7a7026
+	 * are illegal or violate policy.
7a7026
+	 */
7a7026
+	for (result = dns_message_firstname(request, DNS_SECTION_UPDATE);
7a7026
+	     result == ISC_R_SUCCESS;
7a7026
+	     result = dns_message_nextname(request, DNS_SECTION_UPDATE))
7a7026
+	{
7a7026
+		dns_name_t *name = NULL;
7a7026
+		dns_rdata_t rdata = DNS_RDATA_INIT;
7a7026
+		dns_ttl_t ttl;
7a7026
+		dns_rdataclass_t update_class;
7a7026
+
7a7026
+		get_current_rr(request, DNS_SECTION_UPDATE, zoneclass, &name,
7a7026
+			       &rdata, &covers, &ttl, &update_class);
7a7026
+
7a7026
+		if (!dns_name_issubdomain(name, zonename)) {
7a7026
+			FAILC(DNS_R_NOTZONE, "update RR is outside zone");
7a7026
+		}
7a7026
+		if (update_class == zoneclass) {
7a7026
+			/*
7a7026
+			 * Check for meta-RRs.  The RFC2136 pseudocode says
7a7026
+			 * check for ANY|AXFR|MAILA|MAILB, but the text adds
7a7026
+			 * "or any other QUERY metatype"
7a7026
+			 */
7a7026
+			if (dns_rdatatype_ismeta(rdata.type)) {
7a7026
+				FAILC(DNS_R_FORMERR, "meta-RR in update");
7a7026
+			}
7a7026
+			result = dns_zone_checknames(zone, name, &rdata);
7a7026
+			if (result != ISC_R_SUCCESS) {
7a7026
+				FAIL(DNS_R_REFUSED);
7a7026
+			}
7a7026
+		} else if (update_class == dns_rdataclass_any) {
7a7026
+			if (ttl != 0 || rdata.length != 0 ||
7a7026
+			    (dns_rdatatype_ismeta(rdata.type) &&
7a7026
+			     rdata.type != dns_rdatatype_any))
7a7026
+			{
7a7026
+				FAILC(DNS_R_FORMERR, "meta-RR in update");
7a7026
+			}
7a7026
+		} else if (update_class == dns_rdataclass_none) {
7a7026
+			if (ttl != 0 || dns_rdatatype_ismeta(rdata.type)) {
7a7026
+				FAILC(DNS_R_FORMERR, "meta-RR in update");
7a7026
+			}
7a7026
+		} else {
7a7026
+			update_log(client, zone, ISC_LOG_WARNING,
7a7026
+				   "update RR has incorrect class %d",
7a7026
+				   update_class);
7a7026
+			FAIL(DNS_R_FORMERR);
7a7026
+		}
7a7026
+
7a7026
+		/*
7a7026
+		 * draft-ietf-dnsind-simple-secure-update-01 says
7a7026
+		 * "Unlike traditional dynamic update, the client
7a7026
+		 * is forbidden from updating NSEC records."
7a7026
+		 */
7a7026
+		if (rdata.type == dns_rdatatype_nsec3) {
7a7026
+			FAILC(DNS_R_REFUSED, "explicit NSEC3 updates are not "
7a7026
+					     "allowed "
7a7026
+					     "in secure zones");
7a7026
+		} else if (rdata.type == dns_rdatatype_nsec) {
7a7026
+			FAILC(DNS_R_REFUSED, "explicit NSEC updates are not "
7a7026
+					     "allowed "
7a7026
+					     "in secure zones");
7a7026
+		} else if (rdata.type == dns_rdatatype_rrsig &&
7a7026
+			   !dns_name_equal(name, zonename))
7a7026
+		{
7a7026
+			FAILC(DNS_R_REFUSED, "explicit RRSIG updates are "
7a7026
+					     "currently "
7a7026
+					     "not supported in secure zones "
7a7026
+					     "except "
7a7026
+					     "at the apex");
7a7026
+		}
7a7026
+
7a7026
+		if (ssutable != NULL) {
7a7026
+			isc_netaddr_t netaddr;
7a7026
+			dst_key_t *tsigkey = NULL;
7a7026
+			isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
7a7026
+
7a7026
+			if (client->message->tsigkey != NULL) {
7a7026
+				tsigkey = client->message->tsigkey->key;
7a7026
+			}
7a7026
+
7a7026
+			if (rdata.type != dns_rdatatype_any) {
7a7026
+				if (!dns_ssutable_checkrules(
7a7026
+					    ssutable, client->signer, name,
7a7026
+					    &netaddr, TCPCLIENT(client), env,
7a7026
+					    rdata.type, tsigkey))
7a7026
+				{
7a7026
+					FAILC(DNS_R_REFUSED, "rejected by "
7a7026
+							     "secure update");
7a7026
+				}
7a7026
+			} else {
7a7026
+				if (!ssu_checkall(db, ver, name, ssutable,
7a7026
+						  client->signer, &netaddr, env,
7a7026
+						  TCPCLIENT(client), tsigkey))
7a7026
+				{
7a7026
+					FAILC(DNS_R_REFUSED, "rejected by "
7a7026
+							     "secure update");
7a7026
+				}
7a7026
+			}
7a7026
+		}
7a7026
+	}
7a7026
+	if (result != ISC_R_NOMORE) {
7a7026
+		FAIL(result);
7a7026
+	}
7a7026
+
7a7026
+	update_log(client, zone, LOGLEVEL_DEBUG, "update section prescan OK");
7a7026
 
7a7026
 	result = isc_quota_attach(&client->manager->sctx->updquota,
7a7026
 				  &(isc_quota_t *){ NULL });
7a7026
@@ -1552,9 +1706,7 @@ send_update_event(ns_client_t *client, dns_zone_t *zone) {
7a7026
 			   isc_result_totext(result));
7a7026
 		ns_stats_increment(client->manager->sctx->nsstats,
7a7026
 				   ns_statscounter_updatequota);
7a7026
-		ns_client_drop(client, result);
7a7026
-		isc_nmhandle_detach(&client->reqhandle);
7a7026
-		return (DNS_R_DROP);
7a7026
+		CHECK(DNS_R_DROP);
7a7026
 	}
7a7026
 
7a7026
 	event = (update_event_t *)isc_event_allocate(
7a7026
@@ -1571,6 +1723,16 @@ send_update_event(ns_client_t *client, dns_zone_t *zone) {
7a7026
 	dns_zone_gettask(zone, &zonetask);
7a7026
 	isc_task_send(zonetask, ISC_EVENT_PTR(&event));
7a7026
 
7a7026
+failure:
7a7026
+	if (db != NULL) {
7a7026
+		dns_db_closeversion(db, &ver, false);
7a7026
+		dns_db_detach(&db);
7a7026
+	}
7a7026
+
7a7026
+	if (ssutable != NULL) {
7a7026
+		dns_ssutable_detach(&ssutable);
7a7026
+	}
7a7026
+
7a7026
 	return (result);
7a7026
 }
7a7026
 
7a7026
@@ -1671,9 +1833,6 @@ ns_update_start(ns_client_t *client, isc_nmhandle_t *handle,
7a7026
 		break;
7a7026
 	case dns_zone_secondary:
7a7026
 	case dns_zone_mirror:
7a7026
-		CHECK(checkupdateacl(client, dns_zone_getforwardacl(zone),
7a7026
-				     "update forwarding", zonename, true,
7a7026
-				     false));
7a7026
 		CHECK(send_forward_event(client, zone));
7a7026
 		break;
7a7026
 	default:
7a7026
@@ -1685,8 +1844,6 @@ ns_update_start(ns_client_t *client, isc_nmhandle_t *handle,
7a7026
 
7a7026
 failure:
7a7026
 	if (result == DNS_R_REFUSED) {
7a7026
-		INSIST(dns_zone_gettype(zone) == dns_zone_secondary ||
7a7026
-		       dns_zone_gettype(zone) == dns_zone_mirror);
7a7026
 		inc_stats(client, zone, ns_statscounter_updaterej);
7a7026
 	}
7a7026
 
7a7026
@@ -2578,7 +2735,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
7a7026
 	dns_rdatatype_t covers;
7a7026
 	dns_message_t *request = client->message;
7a7026
 	dns_rdataclass_t zoneclass;
7a7026
-	dns_name_t *zonename;
7a7026
+	dns_name_t *zonename = NULL;
7a7026
 	dns_ssutable_t *ssutable = NULL;
7a7026
 	dns_fixedname_t tmpnamefixed;
7a7026
 	dns_name_t *tmpname = NULL;
7a7026
@@ -2590,8 +2747,6 @@ update_action(isc_task_t *task, isc_event_t *event) {
7a7026
 	dns_ttl_t maxttl = 0;
7a7026
 	uint32_t maxrecords;
7a7026
 	uint64_t records;
7a7026
-	dns_aclenv_t *env =
7a7026
-		ns_interfacemgr_getaclenv(client->manager->interface->mgr);
7a7026
 
7a7026
 	INSIST(event->ev_type == DNS_EVENT_UPDATE);
7a7026
 
7a7026
@@ -2602,14 +2757,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
7a7026
 	zonename = dns_db_origin(db);
7a7026
 	zoneclass = dns_db_class(db);
7a7026
 	dns_zone_getssutable(zone, &ssutable);
7a7026
-
7a7026
-	/*
7a7026
-	 * Update message processing can leak record existence information
7a7026
-	 * so check that we are allowed to query this zone.  Additionally
7a7026
-	 * if we would refuse all updates for this zone we bail out here.
7a7026
-	 */
7a7026
-	CHECK(checkqueryacl(client, dns_zone_getqueryacl(zone), zonename,
7a7026
-			    dns_zone_getupdateacl(zone), ssutable));
7a7026
+	options = dns_zone_getoptions(zone);
7a7026
 
7a7026
 	/*
7a7026
 	 * Get old and new versions now that queryacl has been checked.
7a7026
@@ -2745,135 +2893,10 @@ update_action(isc_task_t *task, isc_event_t *event) {
7a7026
 
7a7026
 	update_log(client, zone, LOGLEVEL_DEBUG, "prerequisites are OK");
7a7026
 
7a7026
-	/*
7a7026
-	 * Check Requestor's Permissions.  It seems a bit silly to do this
7a7026
-	 * only after prerequisite testing, but that is what RFC2136 says.
7a7026
-	 */
7a7026
-	if (ssutable == NULL) {
7a7026
-		CHECK(checkupdateacl(client, dns_zone_getupdateacl(zone),
7a7026
-				     "update", zonename, false, false));
7a7026
-	} else if (client->signer == NULL && !TCPCLIENT(client)) {
7a7026
-		CHECK(checkupdateacl(client, NULL, "update", zonename, false,
7a7026
-				     true));
7a7026
-	}
7a7026
-
7a7026
-	if (dns_zone_getupdatedisabled(zone)) {
7a7026
-		FAILC(DNS_R_REFUSED, "dynamic update temporarily disabled "
7a7026
-				     "because the zone is frozen.  Use "
7a7026
-				     "'rndc thaw' to re-enable updates.");
7a7026
-	}
7a7026
-
7a7026
-	/*
7a7026
-	 * Perform the Update Section Prescan.
7a7026
-	 */
7a7026
-
7a7026
-	for (result = dns_message_firstname(request, DNS_SECTION_UPDATE);
7a7026
-	     result == ISC_R_SUCCESS;
7a7026
-	     result = dns_message_nextname(request, DNS_SECTION_UPDATE))
7a7026
-	{
7a7026
-		dns_name_t *name = NULL;
7a7026
-		dns_rdata_t rdata = DNS_RDATA_INIT;
7a7026
-		dns_ttl_t ttl;
7a7026
-		dns_rdataclass_t update_class;
7a7026
-		get_current_rr(request, DNS_SECTION_UPDATE, zoneclass, &name,
7a7026
-			       &rdata, &covers, &ttl, &update_class);
7a7026
-
7a7026
-		if (!dns_name_issubdomain(name, zonename)) {
7a7026
-			FAILC(DNS_R_NOTZONE, "update RR is outside zone");
7a7026
-		}
7a7026
-		if (update_class == zoneclass) {
7a7026
-			/*
7a7026
-			 * Check for meta-RRs.  The RFC2136 pseudocode says
7a7026
-			 * check for ANY|AXFR|MAILA|MAILB, but the text adds
7a7026
-			 * "or any other QUERY metatype"
7a7026
-			 */
7a7026
-			if (dns_rdatatype_ismeta(rdata.type)) {
7a7026
-				FAILC(DNS_R_FORMERR, "meta-RR in update");
7a7026
-			}
7a7026
-			result = dns_zone_checknames(zone, name, &rdata);
7a7026
-			if (result != ISC_R_SUCCESS) {
7a7026
-				FAIL(DNS_R_REFUSED);
7a7026
-			}
7a7026
-		} else if (update_class == dns_rdataclass_any) {
7a7026
-			if (ttl != 0 || rdata.length != 0 ||
7a7026
-			    (dns_rdatatype_ismeta(rdata.type) &&
7a7026
-			     rdata.type != dns_rdatatype_any))
7a7026
-			{
7a7026
-				FAILC(DNS_R_FORMERR, "meta-RR in update");
7a7026
-			}
7a7026
-		} else if (update_class == dns_rdataclass_none) {
7a7026
-			if (ttl != 0 || dns_rdatatype_ismeta(rdata.type)) {
7a7026
-				FAILC(DNS_R_FORMERR, "meta-RR in update");
7a7026
-			}
7a7026
-		} else {
7a7026
-			update_log(client, zone, ISC_LOG_WARNING,
7a7026
-				   "update RR has incorrect class %d",
7a7026
-				   update_class);
7a7026
-			FAIL(DNS_R_FORMERR);
7a7026
-		}
7a7026
-
7a7026
-		/*
7a7026
-		 * draft-ietf-dnsind-simple-secure-update-01 says
7a7026
-		 * "Unlike traditional dynamic update, the client
7a7026
-		 * is forbidden from updating NSEC records."
7a7026
-		 */
7a7026
-		if (rdata.type == dns_rdatatype_nsec3) {
7a7026
-			FAILC(DNS_R_REFUSED, "explicit NSEC3 updates are not "
7a7026
-					     "allowed "
7a7026
-					     "in secure zones");
7a7026
-		} else if (rdata.type == dns_rdatatype_nsec) {
7a7026
-			FAILC(DNS_R_REFUSED, "explicit NSEC updates are not "
7a7026
-					     "allowed "
7a7026
-					     "in secure zones");
7a7026
-		} else if (rdata.type == dns_rdatatype_rrsig &&
7a7026
-			   !dns_name_equal(name, zonename)) {
7a7026
-			FAILC(DNS_R_REFUSED, "explicit RRSIG updates are "
7a7026
-					     "currently "
7a7026
-					     "not supported in secure zones "
7a7026
-					     "except "
7a7026
-					     "at the apex");
7a7026
-		}
7a7026
-
7a7026
-		if (ssutable != NULL) {
7a7026
-			isc_netaddr_t netaddr;
7a7026
-			dst_key_t *tsigkey = NULL;
7a7026
-			isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
7a7026
-
7a7026
-			if (client->message->tsigkey != NULL) {
7a7026
-				tsigkey = client->message->tsigkey->key;
7a7026
-			}
7a7026
-
7a7026
-			if (rdata.type != dns_rdatatype_any) {
7a7026
-				if (!dns_ssutable_checkrules(
7a7026
-					    ssutable, client->signer, name,
7a7026
-					    &netaddr, TCPCLIENT(client), env,
7a7026
-					    rdata.type, tsigkey))
7a7026
-				{
7a7026
-					FAILC(DNS_R_REFUSED, "rejected by "
7a7026
-							     "secure update");
7a7026
-				}
7a7026
-			} else {
7a7026
-				if (!ssu_checkall(db, ver, name, ssutable,
7a7026
-						  client->signer, &netaddr, env,
7a7026
-						  TCPCLIENT(client), tsigkey))
7a7026
-				{
7a7026
-					FAILC(DNS_R_REFUSED, "rejected by "
7a7026
-							     "secure update");
7a7026
-				}
7a7026
-			}
7a7026
-		}
7a7026
-	}
7a7026
-	if (result != ISC_R_NOMORE) {
7a7026
-		FAIL(result);
7a7026
-	}
7a7026
-
7a7026
-	update_log(client, zone, LOGLEVEL_DEBUG, "update section prescan OK");
7a7026
-
7a7026
 	/*
7a7026
 	 * Process the Update Section.
7a7026
 	 */
7a7026
 
7a7026
-	options = dns_zone_getoptions(zone);
7a7026
 	for (result = dns_message_firstname(request, DNS_SECTION_UPDATE);
7a7026
 	     result == ISC_R_SUCCESS;
7a7026
 	     result = dns_message_nextname(request, DNS_SECTION_UPDATE))
7a7026
@@ -3307,10 +3330,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
7a7026
 			if (result == ISC_R_SUCCESS && records > maxrecords) {
7a7026
 				update_log(client, zone, ISC_LOG_ERROR,
7a7026
 					   "records in zone (%" PRIu64 ") "
7a7026
-					   "exceeds"
7a7026
-					   " max-"
7a7026
-					   "records"
7a7026
-					   " (%u)",
7a7026
+					   "exceeds max-records (%u)",
7a7026
 					   records, maxrecords);
7a7026
 				result = DNS_R_TOOMANYRECORDS;
7a7026
 				goto failure;
7a7026
@@ -3601,6 +3621,13 @@ send_forward_event(ns_client_t *client, dns_zone_t *zone) {
7a7026
 	update_event_t *event = NULL;
7a7026
 	isc_task_t *zonetask = NULL;
7a7026
 
7a7026
+	result = checkupdateacl(client, dns_zone_getforwardacl(zone),
7a7026
+				"update forwarding", dns_zone_getorigin(zone),
7a7026
+				true, false);
7a7026
+	if (result != ISC_R_SUCCESS) {
7a7026
+		return (result);
7a7026
+	}
7a7026
+
7a7026
 	result = isc_quota_attach(&client->manager->sctx->updquota,
7a7026
 				  &(isc_quota_t *){ NULL });
7a7026
 	if (result != ISC_R_SUCCESS) {
7a7026
-- 
7a7026
2.39.1
7a7026