rcl/rcl_lifecycle
Ethan Gao 261a46772f 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>
2017-12-13 08:31:18 -08:00
..
include/rcl_lifecycle remove const qualifier for transition states (#197) 2017-12-05 20:22:19 -08:00
src segmentation fault for NULL dereference (#202) 2017-12-13 08:31:18 -08:00
test remove const qualifier for transition states (#197) 2017-12-05 20:22:19 -08:00
CMakeLists.txt Switch rcl_lifecyle to ament_cmake_ros (#186) 2017-11-20 14:41:25 -08:00
package.xml 0.4.0 2017-12-08 18:06:51 -08:00