- Fix for #925: unbound.service: Main process exited, code=killed,

status=11/SEGV. Fixes cachedb configuration handling.
This commit is contained in:
W.C.A. Wijngaards 2023-08-21 11:28:49 +02:00
parent d1f388ec93
commit 3160d6ac08
2 changed files with 4 additions and 0 deletions

View file

@ -226,6 +226,8 @@ static int
cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg) cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg)
{ {
const char* backend_str = cfg->cachedb_backend; const char* backend_str = cfg->cachedb_backend;
if(!backend_str || *backend_str==0)
return 1;
cachedb_env->backend = cachedb_find_backend(backend_str); cachedb_env->backend = cachedb_find_backend(backend_str);
if(!cachedb_env->backend) { if(!cachedb_env->backend) {
log_err("cachedb: cannot find backend name '%s'", backend_str); log_err("cachedb: cannot find backend name '%s'", backend_str);

View file

@ -1,6 +1,8 @@
21 August 2023: Wouter 21 August 2023: Wouter
- Debug Windows ci workflow. - Debug Windows ci workflow.
- Fix windows ci workflow to install bison and flex. - 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 18 August 2023: Wouter
- Fix for iter_dec_attempts that could cause a hang, part of - Fix for iter_dec_attempts that could cause a hang, part of