mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-24 02:10:30 -05:00
[v9_9] fix tsig class checks
4171. [bug] Fixed incorrect class checks in TSIG RR implementation. [RT #40287]
This commit is contained in:
parent
75f4d49205
commit
7d665f7666
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
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]
|
||||
|
|
|
|||
|
|
@ -529,8 +529,8 @@ freestruct_any_tsig(ARGS_FREESTRUCT) {
|
|||
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;
|
||||
|
|
@ -586,7 +586,7 @@ static inline isc_boolean_t
|
|||
checknames_any_tsig(ARGS_CHECKNAMES) {
|
||||
|
||||
REQUIRE(rdata->type == 250);
|
||||
REQUIRE(rdata->rdclass == 250);
|
||||
REQUIRE(rdata->rdclass == 255);
|
||||
|
||||
UNUSED(rdata);
|
||||
UNUSED(owner);
|
||||
|
|
|
|||
Loading…
Reference in a new issue