]> 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:55:21 +0000 (21:55 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Fri, 18 Sep 2009 21:55:21 +0000 (21:55 +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 385341d1cfa38f696c2d1bbf3072e8e8cf31b171..2dd3bb7fbab6d359a16b6424d7c42750fd743f32 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2681.  [bug]           IPSECKEY RR of gateway type 3 was not correctly
+                       decoded [RT #20269].
+
 2680.  [func]          Move some contrib/pkcs11-keygen to bin/pkcs11.
                        [RT #20067]
 
index 15c7cdcf59b8a6ed33c41da970cc88bc4390149a..2cf13b28311a2dd70ba17586749910356a1850d4 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipseckey_45.c,v 1.6 2009/01/17 23:47:43 tbox Exp $ */
+/* $Id: ipseckey_45.c,v 1.7 2009/09/18 21:55:21 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: