summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-07-12 16:53:30 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-07-12 16:53:30 +0000
commit0131b2b032501017e9a9ad314bdf77c587a7afd0 (patch)
tree988cac89ba69b29d89f58ac54abc365eddf9e99e /main/SAPI.c
parent9aabcf7016a544de1fcabadf912ace828108819d (diff)
downloadphp-git-0131b2b032501017e9a9ad314bdf77c587a7afd0.tar.gz
Fixed double-free in the digest authentication handling.
# Found and Reported by Stefan Esser
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index e6ce825375..0b9405dab1 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -455,7 +455,7 @@ SAPI_API void sapi_initialize_empty_request(TSRMLS_D)
{
SG(server_context) = NULL;
SG(request_info).request_method = NULL;
- SG(request_info).auth_user = SG(request_info).auth_password = NULL;
+ SG(request_info).auth_digest = SG(request_info).auth_user = SG(request_info).auth_password = NULL;
SG(request_info).content_type_dup = NULL;
}