+3567. [bug] Silence clang static analyzer warnings. [RT #33365]
+
3566. [func] Log when forwarding updates to master. [RT #33240]
3564. [bug] Improved handling of corrupted map files. [RT #33380]
"recommended.\nIf you still wish to "
"use RSA (RSAMD5) please specify "
"\"-a RSAMD5\"\n");
+ INSIST(freeit == NULL);
return (1);
} else if (strcasecmp(algname, "HMAC-MD5") == 0)
alg = DST_ALG_HMACMD5;
dns_rdataclass_t rdclass;
REQUIRE(zonep != NULL && *zonep == NULL);
+ REQUIRE(zonename == NULL || *zonename == NULL);
input = args;
zonetxt = next_token(&input, " \t");
if (zonetxt == NULL)
return (ISC_R_SUCCESS);
- if (zonename)
+ if (zonename != NULL)
*zonename = zonetxt;
/* Look for the optional class name. */
goto cleanup;
}
- if (zonename != NULL)
- znamelen = strlen(zonename);
+ INSIST(zonename != NULL);
+ znamelen = strlen(zonename);
/* Dig out configuration for this zone */
view = dns_zone_getview(zone);
data += tl;
rdl -= tl;
}
+
+ if (i < 6U)
+ return(ISC_FALSE);
+
buf[i] = 0;
if (strncmp(buf, "v=spf1", 6) == 0 && (buf[6] == 0 || buf[6] == ' '))
return (ISC_TRUE);
cleanup:
#ifdef ISC_PLATFORM_USETHREADS
cleanup_rcond:
- isc_condition_destroy(&ctx->ready);
+ (void)isc_condition_destroy(&ctx->ready);
cleanup_rlock:
- isc_mutex_destroy(&ctx->readylock);
+ (void)isc_mutex_destroy(&ctx->readylock);
#endif /* ISC_PLATFORM_USETHREADS */
return (result);
}