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 udp_transport: call freeaddrinfo only if getaddrinfo succeeded #359

Merged
merged 1 commit into from Jun 15, 2023

Conversation

bkueng
Copy link
Contributor

@bkueng bkueng commented Jun 14, 2023

Otherwise freeaddrinfo can access invalid memory.

@bkueng bkueng force-pushed the udp_transport_fix_freeaddrinfo branch from 16bdf52 to 1a66deb Compare June 14, 2023 12:20
@pablogs9 pablogs9 requested a review from Acuadros95 June 14, 2023 12:50
@richiprosima
Copy link
Contributor

Build status:

  • Linux Build Status
  • Windows Build Status

@richiprosima
Copy link
Contributor

Build status:

  • Linux Build Status
  • Windows Build Status

@pablogs9
Copy link
Member

@bkueng @Acuadros95 can we move the target branch to develop and retrigger the CI?

@bkueng bkueng changed the base branch from master to develop June 15, 2023 05:50
Otherwise freeaddrinfo can access invalid memory.

Signed-off-by: Beat Küng <beat-kueng@gmx.net>
@bkueng bkueng force-pushed the udp_transport_fix_freeaddrinfo branch from 1a66deb to 8bad43a Compare June 15, 2023 05:52
@bkueng
Copy link
Contributor Author

bkueng commented Jun 15, 2023

I changed the branch

@pablogs9 pablogs9 merged commit 70924f2 into eProsima:develop Jun 15, 2023
2 checks passed
@bkueng bkueng deleted the udp_transport_fix_freeaddrinfo branch June 15, 2023 09:15
bkueng added a commit to PX4/PX4-Autopilot that referenced this pull request Jun 16, 2023
dagar pushed a commit to PX4/PX4-Autopilot that referenced this pull request Jun 19, 2023
harrisondragoon pushed a commit to harrisondragoon/PX4-Autopilot that referenced this pull request Jun 30, 2023
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.

None yet

4 participants