From: Remi Gacogne Date: Thu, 26 Aug 2021 07:45:18 +0000 (+0200) Subject: dnsdist: Initialize the cacheFlags member of DNSQuestion to 0 X-Git-Tag: dnsdist-1.7.0-alpha1~50^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10671%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Initialize the cacheFlags member of DNSQuestion to 0 --- 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};