php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36 Win32 binary GPF's when using an empy array
Submitted: 1998-02-04 21:49 UTC Modified: 1998-02-24 13:44 UTC
From: a dot hacker at clear dot net dot nz Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0b4 OS: Win95
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: a dot hacker at clear dot net dot nz
New email:
PHP Version: OS:

 

 [1998-02-04 21:49 UTC] a dot hacker at clear dot net dot nz
The latest Win32 compile dies when running a script which includes an empty array err thing :)
This does it

<?
$crashme[] = file("text.txt");
?>

and so does this
<?
$crashme[] = count($filename);
?>

But just using $crashme works fine.

I picked these up when porting Travis Ortlieb's live chat script to PHP3. I can forward the GPF message through if required.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-24 13:44 UTC] shane
I just checked this.  It has either been fixed, or is not reproducable.

Shane

 [2010-10-14 08:12 UTC] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=304388
Log: - Warn that using the ENT_IGNORE flag in htmlentities/htmlspecialchars may introduce security
  vulnerabilities. See Unicode Technical Report #36, section 3.6.2.
 [2020-02-06 14:22 UTC] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=349153
Log: Remove the incorrect pattern &quot;...&quot; in glob()

Patch by colshrapnel.

Closes php/doc-en#36.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 01:01:27 2024 UTC