2
0
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:
Mark Andrews
2015-05-28 13:17:07 +10:00
parent 52a487f71a
commit e53e202ef3
16 changed files with 61 additions and 57 deletions

View File

@@ -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