This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/bind.git#aae89bb5edab5bfcdd61d69bc8b082ce38587f6d
29 lines
762 B
Diff
29 lines
762 B
Diff
From ee53b9558fb73dc0c2f328fe91421f2c32e9a369 Mon Sep 17 00:00:00 2001
|
|
From: Mark Andrews <marka@isc.org>
|
|
Date: Tue, 3 Nov 2020 11:25:55 +1100
|
|
Subject: [PATCH] Call nta_detach() before dns_view_weakdetach() so view is
|
|
available.
|
|
|
|
(cherry picked from commit ea956976d1e89f49570a4690fbad377e4f607c77)
|
|
---
|
|
lib/dns/nta.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/dns/nta.c b/lib/dns/nta.c
|
|
index 79058bb9b5..73febe44ed 100644
|
|
--- a/lib/dns/nta.c
|
|
+++ b/lib/dns/nta.c
|
|
@@ -283,8 +283,8 @@ checkbogus(isc_task_t *task, isc_event_t *event) {
|
|
&nta->sigrdataset,
|
|
&nta->fetch);
|
|
if (result != ISC_R_SUCCESS) {
|
|
- dns_view_weakdetach(&view);
|
|
nta_detach(view->mctx, &nta);
|
|
+ dns_view_weakdetach(&view);
|
|
}
|
|
}
|
|
|
|
--
|
|
2.26.2
|
|
|