From 1ecbd15e257a355f20f3e4a96c0d41ff936be997 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 11 Mar 2019 15:18:33 +0100 Subject: [PATCH] dnsdist: Properly initialize DNQuestion::ednsRCode --- pdns/dnsdist.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist.hh b/pdns/dnsdist.hh index 64b3cce8c..925d1d0d1 100644 --- a/pdns/dnsdist.hh +++ b/pdns/dnsdist.hh @@ -79,7 +79,7 @@ struct DNSQuestion unsigned int consumed{0}; uint16_t len; uint16_t ecsPrefixLength; - uint8_t ednsRCode; + uint8_t ednsRCode{0}; boost::optional tempFailureTTL; const bool tcp; const struct timespec* queryTime; -- 2.49.0