From: Razvan Becheriu Date: Wed, 17 Sep 2025 19:50:09 +0000 (+0300) Subject: [#4074] fixed uninitialized value in Option4ClientFqdnImpl X-Git-Tag: Kea-3.1.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5a247ee8d63b974f4867197ddb9a539bd5c9052;p=thirdparty%2Fkea.git [#4074] fixed uninitialized value in Option4ClientFqdnImpl --- diff --git a/src/lib/dhcp/option4_client_fqdn.cc b/src/lib/dhcp/option4_client_fqdn.cc index cc463dfe9f..19349dc09a 100644 --- a/src/lib/dhcp/option4_client_fqdn.cc +++ b/src/lib/dhcp/option4_client_fqdn.cc @@ -143,7 +143,8 @@ Option4ClientFqdnImpl(const uint8_t flags, Option4ClientFqdnImpl::Option4ClientFqdnImpl(OptionBufferConstIter first, OptionBufferConstIter last) : rcode1_(Option4ClientFqdn::RCODE_CLIENT()), - rcode2_(Option4ClientFqdn::RCODE_CLIENT()) { + rcode2_(Option4ClientFqdn::RCODE_CLIENT()), + domain_name_type_(Option4ClientFqdn::PARTIAL) { parseWireData(first, last); // Verify that flags value was correct. This constructor is used to parse // incoming packet, so don't check MBZ bits. They are ignored because we