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

segmentation fault for NULL dereference #202

Merged
merged 3 commits into from
Dec 13, 2017
Merged

Commits on Dec 11, 2017

  1. 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>
    gaoethan committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    814ceb2 View commit details
    Browse the repository at this point in the history
  2. Avoid crash while NULL returned from rcl_service_get_options()

    Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com>
    gaoethan committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    61a2eb2 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. tweak error string and null check for current_state

    Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com>
    gaoethan committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    bb986de View commit details
    Browse the repository at this point in the history