It seems that strstr gets NULL as its first argument
(SG(request_info).query_string)
It seems that the following is incorrect in sapi/fpm/fpm/fpm_status.c:
/* full status ? */
full = SG(request_info).request_uri &&
strstr(SG(request_info).query_string, "full");
short_syntax = short_post = NULL;
full_separator = full_pre = full_syntax = full_post = NULL;
encode = 0;
it should be
/* full status ? */
full = SG(request_info).query_string &&
strstr(SG(request_info).query_string, "full");
short_syntax = short_post = NULL;
full_separator = full_pre = full_syntax = full_post = NULL;
encode = 0;
The bug is present also in upstream php git. Attached patch should
solve the problem.
On 05/31/2012 20:10, Scott Moser wrote:
> ** Changed in: php5 (Ubuntu)
> Status: Incomplete => New
>
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
It seems that strstr gets NULL as its first argument info).query_ string) fpm/fpm_ status. c:
(SG(request_
It seems that the following is incorrect in sapi/fpm/
/* full status ? */ info).request_ uri && SG(request_ info).query_ string, "full");
full = SG(request_
strstr(
short_syntax = short_post = NULL;
full_separator = full_pre = full_syntax = full_post = NULL;
encode = 0;
it should be info).query_ string && SG(request_ info).query_ string, "full");
/* full status ? */
full = SG(request_
strstr(
short_syntax = short_post = NULL;
full_separator = full_pre = full_syntax = full_post = NULL;
encode = 0;
The bug is present also in upstream php git. Attached patch should
solve the problem.
On 05/31/2012 20:10, Scott Moser wrote:
> ** Changed in: php5 (Ubuntu)
> Status: Incomplete => New
>
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University