mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 21:24:16 +00:00
[mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run()
This commit is contained in:
1 parent
42d3100609
commit
0ad909aec7
1 file changed
+1
-1
@@ -1722,7 +1722,7 @@ new_req:
|
||||
*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_pass, auth_pass)) {
|
||||
goto authed;
|
||||
|
||||
Reference in new issue
Block a user