From 2a41d0691ee7ca544af4c5d70757382c80cd3f8a Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 31 Oct 2023 10:32:23 +0100 Subject: [PATCH] ixfrdist: Default initialize the 'not implemented' metrics Reported by Coverity as CID 1504405. --- pdns/ixfrdist-stats.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ixfrdist-stats.hh b/pdns/ixfrdist-stats.hh index f9dbe828a6f4..69f48f9458d8 100644 --- a/pdns/ixfrdist-stats.hh +++ b/pdns/ixfrdist-stats.hh @@ -99,7 +99,7 @@ class ixfrdistStats { }; std::map domainStats; - std::array, 16> notimpStats; + std::array, 16> notimpStats{}; programStats progStats; std::map::iterator getRegisteredDomain(const DNSName& d) {