- 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:
Wouter Wijngaards 2016-07-22 07:02:03 +00:00
parent 36f1332181
commit 6b7e0676b9
2 changed files with 6 additions and 0 deletions

View file

@ -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,

View file

@ -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.