mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-22 18:17:05 -04:00
Missing unlock
'kasp->lock' was not released before returning.
This commit is contained in:
parent
978bd61757
commit
b2a3a2ebcf
1 changed files with 3 additions and 2 deletions
|
|
@ -22128,6 +22128,7 @@ isc_result_t
|
|||
dns_zone_dnssecstatus(dns_zone_t *zone, dns_kasp_t *kasp,
|
||||
dns_dnsseckeylist_t *keys, isc_stdtime_t now,
|
||||
bool verbose, char *out, size_t out_len) {
|
||||
isc_result_t result;
|
||||
isc_buffer_t buf;
|
||||
isc_time_t refreshkeytime;
|
||||
isc_stdtime_t refresh;
|
||||
|
|
@ -22152,10 +22153,10 @@ dns_zone_dnssecstatus(dns_zone_t *zone, dns_kasp_t *kasp,
|
|||
|
||||
bool checkds = zone->checkdstype != dns_checkdstype_no;
|
||||
LOCK(&kasp->lock);
|
||||
RETERR(dns_keymgr_status(kasp, keys, &buf, now, verbose, checkds));
|
||||
result = dns_keymgr_status(kasp, keys, &buf, now, verbose, checkds);
|
||||
UNLOCK(&kasp->lock);
|
||||
|
||||
return ISC_R_SUCCESS;
|
||||
return result;
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue