Skip to content

RSDK-10695 fix nil pointer dereference when orientation tolerance is unspecified #5010

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

Merged
merged 1 commit into from
May 27, 2025

Conversation

raybjork
Copy link
Member

Its possible to construct valid protobuf structs that cause this to error at the moment, as @JessamyT discovered. This PR should patch this from being able to happen.

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label May 27, 2025
@raybjork raybjork requested a review from nfranczak May 27, 2025 18:56
Copy link
Member

@nfranczak nfranczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may we please add a test case for this, something that tests ConstraintsFromProtobuf

Copy link
Member

@nfranczak nfranczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@raybjork raybjork merged commit 4cc5744 into viamrobotics:main May 27, 2025
18 of 19 checks passed
@raybjork raybjork deleted the RSDK-10695 branch May 27, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants