PHP 4.0 Bug #8554: ob_gzhandler

From: Date: Thu, 04 Jan 2001 16:58:10 +0000
Subject: PHP 4.0 Bug #8554: ob_gzhandler
Groups: php.dev 
Request: Send a blank email to php-dev+get-42950@lists.php.net to get a copy of this message
From: cecot@dirbg.com Operating system: Debian Linux PHP version: 4.0.4 PHP Bug Type: Reproduceable crash Bug description: ob_gzhandler when I tried the example of Zeev Suraski at http://www.zend.com/zend/art/buffering.php, with the php.ini directive output_handler = ob_gzhandler it caused Segmentation fault of the apache. I tried to use ob_start("ob_gzhandler"); and again segmentation fault ... here are some tests $test = ob_gzhandler("test") makes unpredictable results; $test = gzencode("test") work fine (it even compress the text); ob_start("gzencode") end with segfault again; this happend on two different machines (both with debian) but one with a precompiled php debian package the other php compiled from me. both are compiled --with-zlib phpinfo() gives this zlib ZLib Support enabled 'zlib:' fopen wrapper enabled Compiled Version 1.1.3 Linked Version 1.1.3 -- Edit Bug report at: http://bugs.php.net/?id=8554&edit=1

« previous php.dev (#42950) next »