From 0ad909aec747a4bd6d89846c17d6d3890ed2ce59 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Tue, 25 Feb 2020 21:18:44 +0000 Subject: [PATCH] [mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run() --- src/mod/endpoints/mod_verto/mod_verto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index f8b297fb8e..3271c06298 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -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;