From: Francis Dupont Date: Tue, 4 Jun 2019 13:14:02 +0000 (+0200) Subject: [73-fix-covery-CID-1442796] Added initialization to 0 to next_host_id_ field of CfgHost X-Git-Tag: Kea-1.6.0-beta2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3acc8d583702b331c7e79c5ad254ee9ae6afe70;p=thirdparty%2Fkea.git [73-fix-covery-CID-1442796] Added initialization to 0 to next_host_id_ field of CfgHost --- diff --git a/src/lib/dhcpsrv/cfg_hosts.h b/src/lib/dhcpsrv/cfg_hosts.h index b2d400aaa8..2f0fb862c8 100644 --- a/src/lib/dhcpsrv/cfg_hosts.h +++ b/src/lib/dhcpsrv/cfg_hosts.h @@ -633,7 +633,7 @@ private: virtual void add6(const HostPtr& host); /// @brief Next host id. - uint64_t next_host_id_; + uint64_t next_host_id_ = 0; /// @brief Multi-index container holding @c Host objects. ///