-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
segmentation fault for NULL dereference (#202)
* Invalid memory access for NULL dereference rcl_lifecycle_get_state may return NULL transition->goal is checked for NULL but no return while it's true and this may result the follow-up NULL dereference Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com> * Avoid crash while NULL returned from rcl_service_get_options() Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com> * tweak error string and null check for current_state Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com>
- Loading branch information
1 parent
b41d4e3
commit 261a467
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters