Bugzilla – Bug 801
(minor) missing error condition handling in daemon_create_workers()
Last modified: 2016-07-22 09:02:34 CEST
daemon/daemon.c:daemon_create_workers() doesn't check the case where
the calloc call for workers fails:
daemon->workers = (struct worker**)calloc((size_t)daemon->num,
Although pretty minor, it would still be better to catch this
condition and call fatal_exit(). If nothing else, it would be more
consistent with other error handling cases in this function.
Yes that is a lot better. Thank you for the report.
Best regards, Wouter