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

when constructing a rdataslab. [RT #46978]

(cherry picked from commit 7befb67af4)
This commit is contained in:
Mark Andrews
2018-01-11 09:55:07 +11:00
parent 536fe358af
commit efb95afc6f
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
4862. [bug] The rdata flags for RRSIG was not being properly set
when constructing a rdataslab. [RT #46978]
4860. [bug] isc_int8_t should be signed char. [RT #46973]
4859. [bug] A loop was possible when attempting to validate
+1 -1
View File
@@ -329,7 +329,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);