Bug #60629 [Fbk->Csd]: memory corruption when web server closed the fcgi fd(?)
Edit report at https://bugs.php.net/bug.php?id=60629&edit=1
ID: 60629
Updated by: fat@php.net
Reported by: phpbugs at oops dot mooo dot com
Summary: memory corruption when web server closed the fcgi
fd(?)
-Status: Feedback
+Status: Closed
Type: Bug
Package: FPM related
Operating System: Debian Squeeze
PHP Version: 5.3.9RC4
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-01-03 22:25:44] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=321734
Log: - Fixed bug #60629 (memory corruption when web server closed the fcgi fd)
------------------------------------------------------------------------
[2012-01-03 19:44:15] phpbugs at oops dot mooo dot com
Looks good to me, I don't understand
a) Why was fcgi_write's return value changed to ssize_t
b) Why the explicit (size_t) casts was added
but I can't see any problem with them either :)
(I only did this part.)
- size_t ret;
+ ssize_t ret
------------------------------------------------------------------------
[2012-01-03 18:03:28] fat@php.net
Can you please test and validate the attached patch please ?
thx
++ jerome
------------------------------------------------------------------------
[2012-01-03 18:02:55] fat@php.net
The following patch has been added/updated:
Patch Name: fpm-bugs-60629.patch
Revision: 1325613774
URL: https://bugs.php.net/patch-display.php?bug=60629&patch=fpm-bugs-60629.patch&revision=1325613774
------------------------------------------------------------------------
[2012-01-03 12:13:34] fat@php.net
it's on my todo list. I'll try to take time to look at this bugs this week.
++ jerome
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60629
--
Edit this bug report at https://bugs.php.net/bug.php?id=60629&edit=1
Thread (8 messages)