s/recursion/loop/

On 09/30/02, "Wez Furlong" <[EMAIL PROTECTED]> wrote:
> wez           Mon Sep 30 06:18:06 2002 EDT
> 
>   Modified files:              
>     /php4/ext/zlib    zlib.c 
>     /php4/main        output.c 
>   Log:
>   Fix infinite recursion bug when using zlib output compression.
>   Cause: the chunk size is taken from the zlib.output_compression setting,
>   which is 0 or 1.  This causes the block_size for output buffer to be set
>   to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate().
>   Solution: use a value of 0 for the chunk size which will use the default
>   sizes.  Also add a sanity check which will default the block_size to 1
>   if it ends up as 0.




-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to