#32373 [NEW]: crash php
| From: | zxc at zmail dot ru | Date: | Sat, 19 Mar 2005 13:28:12 +0000 |
| Subject: | #32373 [NEW]: crash php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-75517@lists.php.net to get a copy of this message | ||
From: zxc at zmail dot ru
Operating system: Windows Xp Pro SP2
PHP version: 4.3.10
PHP Bug Type: Bzip2 Related
Bug description: crash php
Description:
------------
Good morning, I write the small script, but after use it - I have a crash
php. I USE AN UNDEFINED VAR ($path) IN PATH TO ARCHIVE FILE (archive.bz2)
WITH "/" IN FIRST CHAR IN THE PATH.
Reproduce code:
---------------
<?
$res=bzOpen("/$path/archive.bz2","w");
bzWrite($res,"uncompressed string");
bzClose($res);
?>
Expected result:
----------------
Bzipped2 file /$path/archive.bz2 with compressed string
Actual result:
--------------
I have a crash php
--
Edit bug report at http://bugs.php.net/?id=32373&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32373&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32373&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32373&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32373&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32373&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32373&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32373&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32373&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32373&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32373&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32373&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32373&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32373&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32373&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32373&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32373&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32373&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32373&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32373&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32373&r=mysqlcfg