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): free txt value len (IDFGH-12817) #569

Merged
merged 1 commit into from
May 14, 2024

Conversation

DejinChen
Copy link
Contributor

@DejinChen DejinChen commented May 10, 2024

Free the new malloced txt_value_len instead of the txt_value_len in search result. If there exits txt entry in query results, the origin free processing will lead a crash due to multi free.

@chshu
Copy link

chshu commented May 14, 2024

@gabsuren @david-cermak PTAL.

#522 intended to fix a memory leak issue but introduced this issue.

Could you please help to release mdns 1.3.1 version with this fix? It's a critial bug found in both the Matter and Thread BR applications.

@gabsuren gabsuren added the mdns label May 14, 2024
@github-actions github-actions bot changed the title fix(mdns): free txt value len fix(mdns): free txt value len (IDFGH-12817) May 14, 2024
@gabsuren gabsuren merged commit d45c5ce into espressif:master May 14, 2024
105 checks passed
@gabsuren
Copy link
Contributor

@chshu release mdns-v1.3.1 is already available
https://components.espressif.com/components/espressif/mdns

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.

4 participants