Blame SOURCES/bind99-CVE-2015-4620.patch
|
|
6e2ae0 |
diff --git a/lib/dns/validator.c b/lib/dns/validator.c
|
|
|
6e2ae0 |
--- a/lib/dns/validator.c
|
|
|
6e2ae0 |
+++ b/lib/dns/validator.c
|
|
|
6e2ae0 |
@@ -1422,7 +1422,6 @@ compute_keytag(dns_rdata_t *rdata, dns_rdata_dnskey_t *key) {
|
|
|
6e2ae0 |
*/
|
|
|
6e2ae0 |
static isc_boolean_t
|
|
|
6e2ae0 |
isselfsigned(dns_validator_t *val) {
|
|
|
6e2ae0 |
- dns_fixedname_t fixed;
|
|
|
6e2ae0 |
dns_rdataset_t *rdataset, *sigrdataset;
|
|
|
6e2ae0 |
dns_rdata_t rdata = DNS_RDATA_INIT;
|
|
|
6e2ae0 |
dns_rdata_t sigrdata = DNS_RDATA_INIT;
|
|
|
6e2ae0 |
@@ -1478,8 +1477,7 @@ isselfsigned(dns_validator_t *val) {
|
|
|
6e2ae0 |
result = dns_dnssec_verify3(name, rdataset, dstkey,
|
|
|
6e2ae0 |
ISC_TRUE,
|
|
|
6e2ae0 |
val->view->maxbits,
|
|
|
6e2ae0 |
- mctx, &sigrdata,
|
|
|
6e2ae0 |
- dns_fixedname_name(&fixed));
|
|
|
6e2ae0 |
+ mctx, &sigrdata, NULL);
|
|
|
6e2ae0 |
dst_key_free(&dstkey);
|
|
|
6e2ae0 |
if (result != ISC_R_SUCCESS)
|
|
|
6e2ae0 |
continue;
|