mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
check the result of dns_zone_getdb call
This commit is contained in:
@@ -599,7 +599,7 @@ check_ttls(dns_zone_t *zone, dns_ttl_t maxttl) {
|
|||||||
name = dns_fixedname_name(&fname);
|
name = dns_fixedname_name(&fname);
|
||||||
dns_rdataset_init(&rdataset);
|
dns_rdataset_init(&rdataset);
|
||||||
|
|
||||||
dns_zone_getdb(zone, &db);
|
CHECK(dns_zone_getdb(zone, &db));
|
||||||
INSIST(db != NULL);
|
INSIST(db != NULL);
|
||||||
|
|
||||||
CHECK(dns_db_newversion(db, &version));
|
CHECK(dns_db_newversion(db, &version));
|
||||||
|
Reference in New Issue
Block a user