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

Fix possible nullptr access in robot_joint.cpp. #636

Merged
merged 1 commit into from
Dec 17, 2020

Commits on Dec 17, 2020

  1. Fix possible nullptr access in robot_joint.cpp.

    As pointed out by clang static analysis, the checks here
    are not sufficient to prevent a nullptr access in the
    unlikely case that a link is nullptr.  Revamp the code
    so that we get out early if a link is nullptr.
    
    Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
    clalancette committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    67ac44c View commit details
    Browse the repository at this point in the history