Skip to content

Guard against invalid iterator#127

Merged
jacobperron merged 1 commit intoros2from
jacob/bug_fixes
Jul 12, 2019
Merged

Guard against invalid iterator#127
jacobperron merged 1 commit intoros2from
jacob/bug_fixes

Conversation

@jacobperron
Copy link
Copy Markdown
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
Copy Markdown
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