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

Remove 8.8.8.8 and instead determine the local IP for each packet #1637

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Flole998
Copy link
Member

@Flole998 Flole998 commented Feb 9, 2024

Still needs testing

Fixes: #1634

Copy link

@prplex prplex bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. Posted 11 comments.

@@ -1884,7 +1884,8 @@ void satip_server_rtsp_init
reg = 1;
}
s = rtsp_ip;
rtsp_ip = strdup(bindaddr);
if(bindaddr != NULL)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that bindaddr is checked for null before calling strdup. This ensures that the function does not crash if bindaddr is null.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats.... uhmmm... literally what I am doing?

src/satip/server.c Outdated Show resolved Hide resolved
src/satip/server.c Show resolved Hide resolved
src/satip/server.c Show resolved Hide resolved
src/satip/server.c Outdated Show resolved Hide resolved
src/udp.c Outdated Show resolved Hide resolved
src/udp.c Outdated Show resolved Hide resolved
src/udp.c Show resolved Hide resolved
src/upnp.c Show resolved Hide resolved
src/upnp.c Show resolved Hide resolved
@Flole998 Flole998 force-pushed the remove8888 branch 5 times, most recently from 3d2bfaf to 323c51c Compare February 9, 2024 22:24
Copy link

sonarcloud bot commented Feb 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: 8.8.8.8 should not be used for getting some local IP
2 participants