2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 15:45:25 +00:00

4862. [bug] The rdata flags for RRSIG was not being properly set

when constructing a rdataslab. [RT #46978]
This commit is contained in:
Mark Andrews
2018-01-11 09:51:52 +11:00
parent 099a9efd82
commit 7befb67af4
2 changed files with 4 additions and 1 deletions

View File

@@ -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]

View File

@@ -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);