From 3b02d88b8e7a80fea08bc6d78af88be414072bff Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 27 Oct 2000 10:28:57 +0000 Subject: [PATCH] Initialize auth_(user|password) to NULL, if data was not suitable. --- main/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/main.c b/main/main.c index d06b5731ca..e706b7ca2a 100644 --- a/main/main.c +++ b/main/main.c @@ -1236,6 +1236,10 @@ PHPAPI int php_handle_auth_data(const char *auth SLS_DC) } } } + + if (ret == -1) + SG(request_info).auth_user = SG(request_info).auth_password = NULL; + return ret; } -- 2.50.1