php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32373 crash php
Submitted: 2005-03-19 14:28 UTC Modified: 2005-03-19 14:57 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: zxc at zmail dot ru Assigned:
Status: Closed Package: Bzip2 Related
PHP Version: 4.3.10 OS: Windows Xp Pro SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zxc at zmail dot ru
New email:
PHP Version: OS:

 

 [2005-03-19 14:28 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-19 14:57 UTC] tony2001@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Apr 12 11:01:30 2025 UTC