From: Mark Andrews Date: Wed, 10 Jan 2018 22:51:52 +0000 (+1100) Subject: 4862. [bug] The rdata flags for RRSIG was not being properly set X-Git-Tag: v9.13.0~282 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=7befb67af42a6e6088d91229ab5fcb8d64db0a3a;p=thirdparty%2Fbind9.git 4862. [bug] The rdata flags for RRSIG was not being properly set when constructing a rdataslab. [RT #46978] --- diff --git a/CHANGES b/CHANGES index 96cfec72c2a..dccc8238214 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4862. [bug] The rdata flags for RRSIG was not being properly set + when constructing a rdataslab. [RT #46978] + 4861. [bug] The isc_crc64 unit test was not endian independent. [RT #46973] diff --git a/lib/dns/rdataslab.c b/lib/dns/rdataslab.c index 55672a8d14e..8d3edc95c17 100644 --- a/lib/dns/rdataslab.c +++ b/lib/dns/rdataslab.c @@ -320,7 +320,7 @@ dns_rdataslab_fromrdataset(dns_rdataset_t *rdataset, isc_mem_t *mctx, * Store the per RR meta data. */ if (rdataset->type == dns_rdatatype_rrsig) { - *rawbuf++ |= (x[i].rdata.flags & DNS_RDATA_OFFLINE) ? + *rawbuf++ = (x[i].rdata.flags & DNS_RDATA_OFFLINE) ? DNS_RDATASLAB_OFFLINE : 0; } memmove(rawbuf, x[i].rdata.data, x[i].rdata.length);