mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
4128. [bug] Address issues raised by Coverity 7.6. [RT #39537]
This commit is contained in:
@@ -1332,7 +1332,7 @@ dns_view_findzonecut2(dns_view_t *view, dns_name_t *name, dns_name_t *fname,
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
if (zfname != NULL &&
|
||||
(!dns_name_issubdomain(fname, zfname) ||
|
||||
(dns_zone_staticstub &&
|
||||
(dns_zone_gettype(zone) == dns_zone_staticstub &&
|
||||
dns_name_equal(fname, zfname)))) {
|
||||
/*
|
||||
* We found a zonecut in the cache, but our
|
||||
|
Reference in New Issue
Block a user