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

Remove assert on network statistics processing code #2028

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

MiguelCompany
Copy link
Member

As receiving the same datagram twice may be forced by a malicious party, we shouldn't assert on code that is part of the processing of a received datagram.

This PR changes one of such assertions into a harmless conditional check

@MiguelCompany MiguelCompany added no-aarch Skip build & test for aarch64 no-test Skip CI tests if PR marked with this label labels Jun 28, 2021
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
@MiguelCompany MiguelCompany force-pushed the hotfix/statistics-assert branch from 4d0343d to 7cb140f Compare June 28, 2021 08:40
@MiguelCompany
Copy link
Member Author

@richiware Please test mac

@MiguelCompany
Copy link
Member Author

@richiprosima Please test mac

Copy link
Contributor

@IkerLuengo IkerLuengo left a comment

Choose a reason for hiding this comment

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

LGTM

@MiguelCompany MiguelCompany merged commit d77bae1 into master Jun 28, 2021
@MiguelCompany MiguelCompany deleted the hotfix/statistics-assert branch June 28, 2021 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-aarch Skip build & test for aarch64 no-test Skip CI tests if PR marked with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants