]> 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:57:08 +0000 (21:57 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Fri, 18 Sep 2009 21:57:08 +0000 (21:57 +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 63793ab5395cc7b958b8933540e60641e41b54fe..52c65fa8baf36374d0336b3d03c2ba75efe95194 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+2681.  [bug]           IPSECKEY RR of gateway type 3 was not correctly
+                       decoded [RT #20269].
 
 2672.  [bug]           Don't enable searching in 'host' when doing reverse
                        lookups. [RT #20218]
index 986efed9ffd4b7847b231f32c16629c14d97c492..e3ff045bff4fc05d45a4dc1da81c59d2166d69a3 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipseckey_45.c,v 1.2.2.3 2009/01/19 23:46:16 tbox Exp $ */
+/* $Id: ipseckey_45.c,v 1.2.2.4 2009/09/18 21:57:08 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: