Finit v1.10
Major bug fix release, courtesy of Coverity Scan.
- Project now relies on static code analysis from Coverity, so this
release contains many serious bug fixes. - Fix serious file descriptor and memory leaks in the following
functions. In particular the leaks inrun_interactive()
are very
serious since that function is called every time a service is
started and/or restarted! For details, see the GIT log:helpers.c:run()
helpers.c:run_interactive()
helpers.c:set_hostname()
helpers.c:procname_kill()
svc.c:svc_start()
: Fix swapped arguments to dup2() and add
close(fd) to prevent descriptor leak.svc.c:svc_start()
: Fix out of bounds write to local stack
variable, wrote off-by-one outside array.- Several added checks for return values to
mknod()
,mkdir()
,
remove()
, etc. - Convert to use Markdown for README, NEWS and TODO.
- Serious update to README and slight pruning of finished TODO items.