]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2681. [bug] IPSECKEY RR of gateway type 3 was not correctly
authorTatuya JINMEI 神明達哉 <jinmei@isc.org>
Fri, 18 Sep 2009 21:56:25 +0000 (21:56 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Fri, 18 Sep 2009 21:56:25 +0000 (21:56 +0000)
decoded [RT #20269].

BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4

CHANGES
lib/dns/rdata/generic/ipseckey_45.c

diff --git a/CHANGES b/CHANGES
index d9a45a254e8284d1af860e7166f622cc2799c25a..8e5f13dab4aa988c59a2031b2bc8f5425d9af761 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2681.  [bug]           IPSECKEY RR of gateway type 3 was not correctly
+                       decoded [RT #20269].
+
 2678.  [func]          Treat DS queries as if "minimal-response yes;"
                        was set. [RT #20258]
 
index e275edae1c1986130cf7d5b35943800ed6f2b007..9f5c62b5127990efc45253b512f0b2f9d44aa253 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipseckey_45.c,v 1.4.128.2 2009/01/19 23:47:03 tbox Exp $ */
+/* $Id: ipseckey_45.c,v 1.4.128.3 2009/09/18 21:56:25 jinmei Exp $ */
 
 #ifndef RDATA_GENERIC_IPSECKEY_45_C
 #define RDATA_GENERIC_IPSECKEY_45_C
@@ -243,6 +243,7 @@ fromwire_ipseckey(ARGS_FROMWIRE) {
                isc_buffer_forward(source, 3);
                RETERR(dns_name_fromwire(&name, source, dctx, options, target));
                isc_buffer_activeregion(source, &region);
+               isc_buffer_forward(source, region.length);
                return(mem_tobuffer(target, region.base, region.length));
 
        default: