[Bug 1006738] Re: php5-fpm segfaults with error 4 in libc-2.15.so
Alexander Pyhalov
1006738 at bugs.launchpad.net
Fri Jun 1 08:21:55 UTC 2012
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
** Attachment added: "php_patch"
https://bugs.launchpad.net/bugs/1006738/+attachment/3171228/+files/php_patch
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1006738
Title:
php5-fpm segfaults with error 4 in libc-2.15.so
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1006738/+subscriptions
More information about the Ubuntu-server-bugs
mailing list