Skip to content
This repository was archived by the owner on Jan 15, 2019. It is now read-only.

Conversation

@ZhouyangJia
Copy link

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

Add error handling code for chdir and pipe. When those APIs fail, print error message and return.
When chown fails, print error message and return.
Add error handling for external APIs
When chown fails, print error message and return.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant