From: Tatuya JINMEI 神明達哉 Date: Fri, 18 Sep 2009 21:56:25 +0000 (+0000) Subject: 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly X-Git-Tag: v9.5.2-P1~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5bce1dd89937f216f4342e75de87d595b05411b;p=thirdparty%2Fbind9.git 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly decoded [RT #20269]. BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4 --- diff --git a/CHANGES b/CHANGES index d9a45a254e8..8e5f13dab4a 100644 --- 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] diff --git a/lib/dns/rdata/generic/ipseckey_45.c b/lib/dns/rdata/generic/ipseckey_45.c index e275edae1c1..9f5c62b5127 100644 --- a/lib/dns/rdata/generic/ipseckey_45.c +++ b/lib/dns/rdata/generic/ipseckey_45.c @@ -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, ®ion); + isc_buffer_forward(source, region.length); return(mem_tobuffer(target, region.base, region.length)); default: