On 29.04.2008 07:02, Gregory Beaver wrote:
Hi,

Today while testing phar with phpMyAdmin, I was getting a really weird
error - one of the files was turning into a series of Z's, munging the
entire display.  Thinking it was a phar issue, I instead tracked it down
to a major problem in an edge case of zend_stream_fixup().  For files
that are about 4085 bytes long, the buffer containing them was being
erealloc()ed without re-assigning the new value to the zend_file_handle,
resulting in efreed() value filled with Z's if --enable-debug was in the
configure line (whew).  A simple order change of assignment solves this one.

The attached patches against 5_3 and HEAD fixes this and saves the day
for pharred phpMyAdmin.

The patch makes perfect sense.
Committed, thanks.

--
Wbr, Antony Dovgal

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

Reply via email to