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

uninitialized source address for source specific multicast #31

Open
cgang opened this issue Jan 30, 2024 · 0 comments
Open

uninitialized source address for source specific multicast #31

cgang opened this issue Jan 30, 2024 · 0 comments

Comments

@cgang
Copy link
Contributor

cgang commented Jan 30, 2024

There is an issue with source specific multicast (SSM) support, that source address is uninitialized if SSM unspecified.
Which may cause mcast listen with wrong parameter since set_multicast() rely on following condition (netop.c, line 158):

if (s_in_addr->s_addr != 0)

It will result in socket timeout if source address is unspecified and uninitialized.

@cgang cgang changed the title uinitialized source address for source specific multicast uninitialized source address for source specific multicast Jan 30, 2024
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

No branches or pull requests

1 participant