BIND 10 master, updated. 0715531bad337be1763bd10a3eca2c0c2d52513b [master] Initialized the hops value of the DHCPv4 packet.

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Feb 10 17:50:08 UTC 2014


The branch, master has been updated
       via  0715531bad337be1763bd10a3eca2c0c2d52513b (commit)
      from  be2f40d53d36999366ea406d50946e3ef6dc478b (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 0715531bad337be1763bd10a3eca2c0c2d52513b
Author: Marcin Siodelski <marcin at isc.org>
Date:   Mon Feb 10 18:49:54 2014 +0100

    [master] Initialized the hops value of the DHCPv4 packet.
    
    This prevents errors reported by valgrind about uninitialized value of
    hops being used in unit tests which skip parsing the packet. Okayed
    on jabber.

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

Summary of changes:
 src/lib/dhcp/pkt4.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/pkt4.cc b/src/lib/dhcp/pkt4.cc
index fa0e0f9..faa33a4 100644
--- a/src/lib/dhcp/pkt4.cc
+++ b/src/lib/dhcp/pkt4.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2013  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2014 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -67,6 +67,7 @@ Pkt4::Pkt4(const uint8_t* data, size_t len)
       remote_port_(DHCP4_CLIENT_PORT),
       op_(BOOTREQUEST),
       hwaddr_(new HWAddr()),
+      hops_(0),
       transid_(0),
       secs_(0),
       flags_(0),



More information about the bind10-changes mailing list