2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +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

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