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

Guard against invalid iterator #127

Merged
merged 1 commit into from
Jul 12, 2019
Merged

Guard against invalid iterator #127

merged 1 commit into from
Jul 12, 2019

Conversation

jacobperron
Copy link
Member

I came across this bug while working on #121.

If there is exactly one transform request in the list, after it is removed the list
iterator is invalidated. This results in undefined behavior and visible test
failures on Windows.
I've added a regession test that fails without the patch.

If there is exactly one transform request in the list, after it is removed the list
iterator is invalidated. This results in undefined behavior and visible test
failures on Windows.
I've added a regession test that fails without the patch.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

jacobperron commented Jul 12, 2019

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit b8382bc into ros2 Jul 12, 2019
@delete-merged-branch delete-merged-branch bot deleted the jacob/bug_fixes branch July 12, 2019 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants