#32373 [Opn->Csd]: crash php

From: Date: Sat, 19 Mar 2005 13:57:42 +0000
Subject: #32373 [Opn->Csd]: crash php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75519@lists.php.net to get a copy of this message
ID: 32373 Updated by: tony2001@php.net Reported By: zxc at zmail dot ru -Status: Open +Status: Closed Bug Type: Bzip2 Related Operating System: Windows Xp Pro SP2 PHP Version: 4.3.10 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for reporting this. Please, supply at least some info next time. Previous Comments: ------------------------------------------------------------------------ [2005-03-19 14:28:12] zxc at zmail dot ru 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 this bug report at http://bugs.php.net/?id=32373&edit=1

« previous php.bugs (#75519) next »