Skip to content

mdns: fix freeing an incorrect object#929

Merged
pkova merged 1 commit into
developfrom
dozreg/mdns-fix
Dec 15, 2025
Merged

mdns: fix freeing an incorrect object#929
pkova merged 1 commit into
developfrom
dozreg/mdns-fix

Conversation

@dozreg-toplud

@dozreg-toplud dozreg-toplud commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Closes #925

payload->poll.data was set to sref on line 106 and several callback layers later it was freed as if it was an mdns_payload*. For some incomprehensible reason it was only breaking on linux-gnu builds.

Thank you @pkova and ~sarpen-laplux for finding this.

@dozreg-toplud dozreg-toplud requested a review from a team as a code owner December 15, 2025 17:50
@dozreg-toplud dozreg-toplud requested a review from pkova December 15, 2025 17:50
@pkova pkova merged commit f108b0b into develop Dec 15, 2025
2 checks passed
@pkova pkova deleted the dozreg/mdns-fix branch December 15, 2025 19:09
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.

mdns: segfault immediately on start with x86_64-linux-gnu builds

2 participants