From: Francis Dupont Date: Wed, 24 Jun 2015 11:47:12 +0000 (+0200) Subject: [3919] Added some missing initializations X-Git-Tag: trac3911_base~5^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=997f139595fb5e3bf962b45c54e16fd04792e912;p=thirdparty%2Fkea.git [3919] Added some missing initializations --- diff --git a/src/lib/dns/rdata/generic/naptr_35.cc b/src/lib/dns/rdata/generic/naptr_35.cc index 78bf472b42..0de1a096ef 100644 --- a/src/lib/dns/rdata/generic/naptr_35.cc +++ b/src/lib/dns/rdata/generic/naptr_35.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2011, 2015 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 @@ -34,7 +34,7 @@ using namespace isc::dns; class NAPTRImpl { public: - NAPTRImpl() : replacement(".") {} + NAPTRImpl() : order(0, preference(0), replacement(".") {} NAPTRImpl(InputBuffer& buffer, size_t rdata_len) : replacement(".") { if (rdata_len < 4 || buffer.getLength() - buffer.getPosition() < 4) { diff --git a/src/lib/dns/rdataclass.cc b/src/lib/dns/rdataclass.cc index 71b71c0fb4..e075b40cc5 100644 --- a/src/lib/dns/rdataclass.cc +++ b/src/lib/dns/rdataclass.cc @@ -5,7 +5,7 @@ /////////////// /////////////// -// Copyright (C) 2010-2014 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2010-2015 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 @@ -2565,7 +2565,7 @@ namespace generic { class NAPTRImpl { public: - NAPTRImpl() : replacement(".") {} + NAPTRImpl() : order(0, preference(0), replacement(".") {} NAPTRImpl(InputBuffer& buffer, size_t rdata_len) : replacement(".") { if (rdata_len < 4 || buffer.getLength() - buffer.getPosition() < 4) {