icinga-core
icinga-core copied to clipboard
Fix crashes when some external APIs fail
Hi,
I'm a PhD student. I analyzed the icinga source code and found some potential API bugs that may cause crashes. These crashes are mainly caused by insufficient error handling of API functions like chown, chdir or pipe. I think it's unsafe to assume the library function would be correct. It would be better if we could handle the error properly.
Best, Zhouyang