mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 04:27:25 +00:00
Merge pull request #427 from dragos-oancea/mod_verto-nullptr-arg
[mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run()
This commit is contained in:
commit
0359a36a79
@ -1722,7 +1722,7 @@ new_req:
|
|||||||
*auth_pass++ = '\0';
|
*auth_pass++ = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vhost->auth_user && vhost->auth_pass &&
|
if (vhost->auth_user && vhost->auth_pass && auth_pass &&
|
||||||
!strcmp(vhost->auth_user, auth_user) &&
|
!strcmp(vhost->auth_user, auth_user) &&
|
||||||
!strcmp(vhost->auth_pass, auth_pass)) {
|
!strcmp(vhost->auth_pass, auth_pass)) {
|
||||||
goto authed;
|
goto authed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user