Skip to content

Conversation

lilmayofuksu
Copy link

Additional Description: Fixes #41186. std::move causes data.addresses_'s contents to be empty
Risk Level: Low
Testing: Manual
Docs Changes:
Release Notes:
Platform Specific Features:

Copy link

Hi @lilmayofuksu, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #41245 was opened by lilmayofuksu.

see: more, trace.

@KBaichoo
Copy link
Contributor

KBaichoo commented Sep 29, 2025

Thank you for fixing this!

is this also not an issue here?

active_session = createSession(std::move(data.addresses_), host, false);

Would you be able to add a small test in test/extensions/filters/udp/udp_proxy/udp_proxy_filter_test.cc to capture this bug?

@KBaichoo
Copy link
Contributor

/wait

@KBaichoo KBaichoo self-assigned this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UDP session filters can't access the addresses on the first packet
2 participants