-
-
Notifications
You must be signed in to change notification settings - Fork 911
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
3d2bfaf
to
323c51c
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Still needs testing
Fixes: #1634