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 node:dgram addMembership/dropMembership segfault #17049

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

heimskr
Copy link
Member

@heimskr heimskr commented Feb 4, 2025

What does this PR do?

  • Documentation or TypeScript types
  • Code changes

Fixes #17047. Namely, trying to add multicast membership without specifying an interface would cause a segfault.

How did you verify your code works?

I ran the repro code in #17047. I also ran Node's dgram tests to check for regressions.

@robobun
Copy link

robobun commented Feb 4, 2025

Updated 12:40 PM PT - Feb 4th, 2025

@heimskr, your commit e243e5e has 2 failures in Build #11089:


🧪   try this PR locally:

bunx bun-pr 17049

@heimskr heimskr requested review from a team and cirospaciari and removed request for a team February 4, 2025 19:58
@Jarred-Sumner Jarred-Sumner merged commit d63fe71 into main Feb 4, 2025
69 checks passed
@Jarred-Sumner Jarred-Sumner deleted the kai/fix-dgram-addMembership branch February 4, 2025 23:22
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.

Segfault when addMembership in node:dgram
3 participants