On Mar 18, 2005, at 20:46, Jozef Hatala wrote:

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.0.3-input_stream.patch
http://thepathetic.com/jozef/php-4.3.10-input_stream.patch

If curious, you can reproduce it against an unpatched php-5.0.3 like this:

$ wget http://thepathetic.com/jozef/data.xml
$ curl -s --data-binary '@data.xml' http://thepathetic.com/jozef/lala2.php | cmp - data.xml


The reply will be:
- data.xml differ: byte 8193, line 1

Here is lala2.php :

$ wget -O lala2.php http://thepathetic.com/jozef/lala2.php.txt

jh

On Sat, Mar 19, 2005 at 01:32:09AM +0200, sniper wrote:

Are there any bug reports about this at bugs.php.net ? If not, enter one and put the patch online somewhere were we can download it as text file. (and the url to that into the bug report)

    Does this problem exist with PHP_4_3 branch?

--Jani

Nice simple patch that gets the job done!!!!!

Hopefully it will find it's way into the release of 4.3.11.

-- Dale

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to