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 wrong iterator after vector reallocation ln LivelinessManager [12362] #2141

Merged
merged 3 commits into from
Aug 13, 2021

Conversation

richiware
Copy link
Member

@richiware richiware commented Aug 12, 2021

Fixes #2129

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiware richiware changed the title Fix wrong iterator after vector reallocation ln LivelinessManager Fix wrong iterator after vector reallocation ln LivelinessManager [12362] Aug 12, 2021
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@EduPonz EduPonz added this to the v2.4.0 milestone Aug 12, 2021
@EduPonz EduPonz added the skip-ci Automatically pass CI label Aug 13, 2021
EduPonz
EduPonz previously approved these changes Aug 13, 2021
Copy link

@EduPonz EduPonz left a comment

Choose a reason for hiding this comment

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

Just a nitpick

src/cpp/rtps/writer/LivelinessManager.cpp Outdated Show resolved Hide resolved
Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
@EduPonz
Copy link

EduPonz commented Aug 13, 2021

@Mergifyio backport 2.0.x 2.1.x 2.2.x 2.3.x

mergify bot pushed a commit that referenced this pull request Aug 13, 2021
)

* Refs #12361. Fix wrong iterator after vector reallocation

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #12361. Always return true adding a writer

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Update src/cpp/rtps/writer/LivelinessManager.cpp

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
(cherry picked from commit cbac2bd)
mergify bot pushed a commit that referenced this pull request Aug 13, 2021
)

* Refs #12361. Fix wrong iterator after vector reallocation

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #12361. Always return true adding a writer

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Update src/cpp/rtps/writer/LivelinessManager.cpp

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
(cherry picked from commit cbac2bd)
mergify bot pushed a commit that referenced this pull request Aug 13, 2021
)

* Refs #12361. Fix wrong iterator after vector reallocation

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #12361. Always return true adding a writer

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Update src/cpp/rtps/writer/LivelinessManager.cpp

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
(cherry picked from commit cbac2bd)
mergify bot pushed a commit that referenced this pull request Aug 13, 2021
)

* Refs #12361. Fix wrong iterator after vector reallocation

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #12361. Always return true adding a writer

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Update src/cpp/rtps/writer/LivelinessManager.cpp

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
(cherry picked from commit cbac2bd)
@mergify
Copy link
Contributor

mergify bot commented Aug 13, 2021

SamuelWHalodi pushed a commit to SamuelWHalodi/Fast-DDS that referenced this pull request Oct 4, 2021
…rosima#2141)

* Refs #12361. Fix wrong iterator after vector reallocation

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #12361. Always return true adding a writer

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Update src/cpp/rtps/writer/LivelinessManager.cpp

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>

Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-ci Automatically pass CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LivelinessManager "writers_" vector reallocation issue [12361]
2 participants