icinga-core icon indicating copy to clipboard operation
icinga-core copied to clipboard

Fix crashes when some external APIs fail

Open ZhouyangJia opened this issue 7 years ago • 0 comments

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

ZhouyangJia avatar Mar 01 '18 07:03 ZhouyangJia