Re: [PHP-DEV] PHP 5.0.4RC2 rolled

2005-03-24 Thread Jozef Hatala
Bug #32371 php://input sometimes returns dupl data http://thepathetic.com/jozef/php_input_stream_patch.html http://thepathetic.com/jozef/php-5.0.3-input_stream.patch http://thepathetic.com/jozef/php-4.3.10-input_stream.patch can still be reproduced on php-5.0.4rc2. Is there any particular reason

[PHP-DEV] [PATCH] Fix for 32371 : php://input sometimes returns dupl data

2005-03-18 Thread Jozef Hatala
I did not find a matching bug entry. Created #32371 for it. The exacly same code is also in php-4.3.10, I made a diff against that version (streams.c is in a different dir), too. Description and patches : http://thepathetic.com/jozef/php_input_stream_patch.html http://thepathetic.com/jozef/php-5

[PHP-DEV] [PATCH] Fix for php://input returning duplicate data in some cases

2005-03-16 Thread Jozef Hatala
In some cases, the php://input stream returns incorrect data. This was discovered as a data corruption when directly parsing a POSTed XML with a long text-node. The problem is between main/streams/streams.c and ext/standard/php_fopen_wrapper.c. The XML parser requests data from the stream in 4000