diff --git a/cachedb/cachedb.c b/cachedb/cachedb.c index 82d685817..30645268c 100644 --- a/cachedb/cachedb.c +++ b/cachedb/cachedb.c @@ -226,6 +226,8 @@ static int cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg) { const char* backend_str = cfg->cachedb_backend; + if(!backend_str || *backend_str==0) + return 1; cachedb_env->backend = cachedb_find_backend(backend_str); if(!cachedb_env->backend) { log_err("cachedb: cannot find backend name '%s'", backend_str); diff --git a/doc/Changelog b/doc/Changelog index 15bc43709..eedd58470 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,8 @@ 21 August 2023: Wouter - Debug Windows ci workflow. - Fix windows ci workflow to install bison and flex. + - Fix for #925: unbound.service: Main process exited, code=killed, + status=11/SEGV. Fixes cachedb configuration handling. 18 August 2023: Wouter - Fix for iter_dec_attempts that could cause a hang, part of