From 17f93fff78b856268411396418ed719b79f50f61 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Wed, 31 Dec 2025 13:57:58 +0100 Subject: [PATCH] Fix Coverity issue 640332/640331 The `notifytype = cfg_obj_asboolean(obj);` was left in place erroneously in commit 52c940551db23ac1613d1a0905f06ac65ec9200e. See https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/11384#note_628991 for background discussion. --- bin/named/zoneconf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index f3799dd14d..0e422d33ed 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -1297,7 +1297,6 @@ named_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig, } else { notifytype = dns_notifytype_no; } - notifytype = cfg_obj_asboolean(obj); } else { const char *str = cfg_obj_asstring(obj); if (strcasecmp(str, "explicit") == 0) {