From 4fc998fdef6c3076739a206be117a21649a9b1a9 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 26 Aug 2021 09:45:18 +0200 Subject: [PATCH] dnsdist: Initialize the cacheFlags member of DNSQuestion to 0 --- pdns/dnsdist.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist.hh b/pdns/dnsdist.hh index 801f35f55f..fadd2345e4 100644 --- a/pdns/dnsdist.hh +++ b/pdns/dnsdist.hh @@ -161,7 +161,7 @@ public: const uint16_t qclass; uint16_t ecsPrefixLength; uint16_t origFlags; - uint16_t cacheFlags; /* DNS flags as sent to the backend */ + uint16_t cacheFlags{0}; /* DNS flags as sent to the backend */ const Protocol protocol; uint8_t ednsRCode{0}; bool skipCache{false}; -- 2.47.2