Skip to content

Add return value checking when invoking c APIs#41

Merged
m-dahl merged 1 commit intosequenceplanner:masterfrom
wayveai:liyou/check_return_code
Mar 21, 2023
Merged

Add return value checking when invoking c APIs#41
m-dahl merged 1 commit intosequenceplanner:masterfrom
wayveai:liyou/check_return_code

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