-
Notifications
You must be signed in to change notification settings - Fork 765
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect from uncaught exception during SHM Segment creation (#3293)
* Added regression test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Fix Segfault when SharedSegment::compute_per_allocation_extra_size throws Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com> * Refs #16360: Added comments and remove some unneeded code Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Uncrustify Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Fixed Windows warnings Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Added NOMINMAX flag to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com> Co-authored-by: Eduardo Ponz <eduardoponz@eprosima.com> (cherry picked from commit 72d1ba1) # Conflicts: # src/cpp/rtps/DataSharing/WriterPool.hpp
- Loading branch information
1 parent
16c3aea
commit bf03e48
Showing
9 changed files
with
695 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.