php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60659
Patch php-fpm-clear-auth_user-on-accept.patch revision 2012-01-04 20:22 UTC by bonbons at linux-vserver dot org
revision 2012-01-04 20:15 UTC by bonbons at linux-vserver dot org

Patch php-fpm-clear-auth_user-on-accept.patch for FPM related Bug #60659

Patch version 2012-01-04 20:22 UTC

Return to Bug #60659 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: bonbons@linux-vserver.org

diff -NurpP php-5.3.8-orig/sapi/fpm/fpm/fpm_request.c php-5.3.8/sapi/fpm/fpm/fpm_request.c
--- php-5.3.8-orig/sapi/fpm/fpm/fpm_request.c	2011-07-05 20:09:07.000000000 +0200
+++ php-5.3.8/sapi/fpm/fpm/fpm_request.c	2012-01-04 20:52:54.096207018 +0100
@@ -41,8 +41,6 @@ void fpm_request_accepting() /* {{{ */
 	proc->request_uri[0] = '\0';
 	proc->request_method[0] = '\0';
 	proc->script_filename[0] = '\0';
+	proc->query_string[0] = '\0';
+	proc->auth_user[0] = '\0';
 	proc->content_length = 0;
 	fpm_scoreboard_proc_release(proc);
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC