#23852 [NEW]: bcompiler: Assumes that --with-bz2 has been specified

From: Date: Wed, 28 May 2003 13:11:28 +0000
Subject: #23852 [NEW]: bcompiler: Assumes that --with-bz2 has been specified
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16775@lists.php.net to get a copy of this message
From: per at nobolt dot com Operating system: Debian GNU/Linux PHP version: 4.3.1 PHP Bug Type: PEAR related Bug description: bcompiler: Assumes that --with-bz2 has been specified bcompiler makes the (wrong) assumption that if PHP_HAS_STREAMS is set, bzip support is enabled. This is not always the case, and what is even worse, if PHP has been compiled without bzip2 support, bcompiler gives a segmentation fault when bcompiled_load() is being run. Solution: Check if bzip2 support is available (somehow, if it can be done in an easy way). If not, fallback to standard fopen() instead of bzopen(). Severity: grave, since it makes the package unusable if --with-bzip2 has not been specified, even though the package would work properly without bzip2 support. Estimated time to fix: 5 minutes-1 hour, dependent on engineer skills. -- Edit bug report at http://bugs.php.net/?id=23852&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23852&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23852&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23852&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23852&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23852&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23852&r=support Expected behavior: http://bugs.php.net/fix.php?id=23852&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23852&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23852&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23852&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23852&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23852&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23852&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23852&r=gnused

« previous php.pear.dev (#16775) next »