mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #801: missing error condition handling in
daemon_create_workers(). git-svn-id: file:///svn/unbound/trunk@3822 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
36f1332181
commit
6b7e0676b9
2 changed files with 6 additions and 0 deletions
|
|
@ -404,6 +404,8 @@ daemon_create_workers(struct daemon* daemon)
|
|||
}
|
||||
daemon->workers = (struct worker**)calloc((size_t)daemon->num,
|
||||
sizeof(struct worker*));
|
||||
if(!daemon->workers)
|
||||
fatal_exit("out of memory during daemon init");
|
||||
if(daemon->cfg->dnstap) {
|
||||
#ifdef USE_DNSTAP
|
||||
daemon->dtenv = dt_create(daemon->cfg->dnstap_socket_path,
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
22 July 2016: Wouter
|
||||
- Fix #801: missing error condition handling in
|
||||
daemon_create_workers().
|
||||
|
||||
20 July 2016: Wouter
|
||||
- Fix typo in unbound.conf.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue