4171. [bug] Fixed incorrect class checks in TSIG RR
implementation. [RT #40287]
+4171. [bug] Fixed incorrect class checks in TSIG RR
+ implementation. [RT #40287]
+
4170. [security] An incorrect boundary check in the OPENPGPKEY
rdatatype could trigger an assertion failure.
[RT #40286]
dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *) source;
REQUIRE(source != NULL);
- REQUIRE(tsig->common.rdclass == 255);
REQUIRE(tsig->common.rdtype == 250);
+ REQUIRE(tsig->common.rdclass == 255);
if (tsig->mctx == NULL)
return;
checknames_any_tsig(ARGS_CHECKNAMES) {
REQUIRE(rdata->type == 250);
- REQUIRE(rdata->rdclass == 250);
+ REQUIRE(rdata->rdclass == 255);
UNUSED(rdata);
UNUSED(owner);