From 65e6b4fafa1e1d39b31aafe3260f30dd261809a7 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 18 Oct 2005 23:51:36 +0000 Subject: [PATCH] initialize SG(request_info).auth_digest to NULL and prevent segfaults --- sapi/apache/mod_php5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c index e2fcd5ede5..4ac60b2742 100644 --- a/sapi/apache/mod_php5.c +++ b/sapi/apache/mod_php5.c @@ -496,6 +496,7 @@ static void init_request_info(TSRMLS_D) SG(request_info).auth_user = NULL; SG(request_info).auth_password = NULL; + SG(request_info).auth_digest = NULL; if (authorization && (!PG(safe_mode) || (PG(safe_mode) && !auth_type(r)))) { char *p = getword(r->pool, &authorization, ' '); -- 2.50.1