PHP :: Bug #32373 :: crash php
| Bug #32373 | crash php | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2005-03-19 14:28 UTC | Modified: | 2005-03-19 14:57 UTC |
|
||||||
| 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 | |||||||
[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 commits
[2005-03-19 14:57 UTC] tony2001@php.net