From: Antony Dovgal Date: Tue, 18 Oct 2005 23:51:36 +0000 (+0000) Subject: initialize SG(request_info).auth_digest to NULL and prevent segfaults X-Git-Tag: RELEASE_0_9_1~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65e6b4fafa1e1d39b31aafe3260f30dd261809a7;p=php initialize SG(request_info).auth_digest to NULL and prevent segfaults --- 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, ' ');