BIND 10 trac3084, updated. 7feab5bbe65b961ba416e21a280b442246666a07 [3084] Addressed review comments.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Aug 30 14:18:55 UTC 2013


The branch, trac3084 has been updated
       via  7feab5bbe65b961ba416e21a280b442246666a07 (commit)
      from  73fa815876d3f6aa20e4961e51839af26d74d4c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7feab5bbe65b961ba416e21a280b442246666a07
Author: Marcin Siodelski <marcin at isc.org>
Date:   Fri Aug 30 16:18:40 2013 +0200

    [3084] Addressed review comments.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcpsrv/mysql_lease_mgr.cc |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/mysql_lease_mgr.cc b/src/lib/dhcpsrv/mysql_lease_mgr.cc
index 2a6ad90..7d4ac1d 100644
--- a/src/lib/dhcpsrv/mysql_lease_mgr.cc
+++ b/src/lib/dhcpsrv/mysql_lease_mgr.cc
@@ -300,9 +300,11 @@ public:
     ///
     /// The initialization of the variables here is only to satisfy cppcheck -
     /// all variables are initialized/set in the methods before they are used.
-    MySqlLease4Exchange() : addr4_(0), hwaddr_length_(0), client_id_length_(0) {
+    MySqlLease4Exchange() : addr4_(0), hwaddr_length_(0), client_id_length_(0),
+                            fqdn_fwd_(false), fqdn_rev_(false), hostname_length_(0) {
         memset(hwaddr_buffer_, 0, sizeof(hwaddr_buffer_));
         memset(client_id_buffer_, 0, sizeof(client_id_buffer_));
+        memset(hostname_buffer_, 0, sizeof(hostname_buffer_));
         std::fill(&error_[0], &error_[LEASE_COLUMNS], MLM_FALSE);
 
         // Set the column names (for error messages)
@@ -649,9 +651,12 @@ public:
     ///
     /// The initialization of the variables here is nonly to satisfy cppcheck -
     /// all variables are initialized/set in the methods before they are used.
-    MySqlLease6Exchange() : addr6_length_(0), duid_length_(0) {
+    MySqlLease6Exchange() : addr6_length_(0), duid_length_(0),
+                            fqdn_fwd_(false), fqdn_rev_(false),
+                            hostname_length_(0) {
         memset(addr6_buffer_, 0, sizeof(addr6_buffer_));
         memset(duid_buffer_, 0, sizeof(duid_buffer_));
+        memset(hostname_buffer_, 0, sizeof(hostname_buffer_));
         std::fill(&error_[0], &error_[LEASE_COLUMNS], MLM_FALSE);
 
         // Set the column names (for error messages)



More information about the bind10-changes mailing list