Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return value checking when invoking c APIs #41

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

LiyouZhou
Copy link
Contributor

During rcl_init, things could fail and result in
segfault.

In this patch, we check the return code of
c function calls and panic in case of error.

During rcl_init, things could fail and result in
segfault.

In this patch, we check the return code of
c function calls and panic in case of error.
@m-dahl
Copy link
Collaborator

m-dahl commented Mar 21, 2023

Thanks!

@m-dahl m-dahl merged commit 88c16ba into sequenceplanner:master Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants