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(mdns): fix mdns answer append while host is invalid #526

Conversation

zwx1995esp
Copy link
Contributor

There is a risk in this scenario:

A pending tx packets (called by the action ACTION_TX_HANDLE) which has a list of answer, while the host will be valid when the packet is created, but the host will be invalid while the packet is sending. We should double check the host is still valid when appending the answer to the packets.

This PR fix this risk.

@gabsuren gabsuren added the mdns label Mar 11, 2024
@gabsuren gabsuren requested a review from david-cermak March 11, 2024 13:03
@gabsuren gabsuren merged commit 46a6244 into espressif:master Mar 12, 2024
53 checks passed
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.

3 participants