Commit 6bf364ae authored by Ondřej Surý's avatar Ondřej Surý

named: Add INSIST() after bindkeysfile configuration load to silence scan-build FP

parent 7aa7f859
......@@ -8098,6 +8098,7 @@ load_configuration(const char *filename, named_server_t *server,
CHECKM(setstring(server, &server->bindkeysfile,
cfg_obj_asstring(obj)), "strdup");
INSIST(server->bindkeysfile != NULL);
if (access(server->bindkeysfile, R_OK) == 0) {
isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment