mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
fix: nil: Add REQUIREs to dns_xfrin_create()
Two `REQUIRE` assertions were accidentally deleted by the dbf230650f74d40fc1e1b45e1445d174802ede1b commit earlier. Bring them back. Merge branch 'aram/dns_xfrin_create-bring-back-requires' into 'main' See merge request isc-projects/bind9!9729
This commit is contained in:
commit
d83c649e87
@ -879,6 +879,8 @@ dns_xfrin_create(dns_zone_t *zone, dns_rdatatype_t xfrtype,
|
||||
|
||||
REQUIRE(xfrp != NULL && *xfrp == NULL);
|
||||
REQUIRE(isc_sockaddr_getport(primaryaddr) != 0);
|
||||
REQUIRE(zone != NULL);
|
||||
REQUIRE(dns_zone_getview(zone) != NULL);
|
||||
|
||||
loop = dns_zone_getloop(zone);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user