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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Mar 19 06:01:30 2024 UTC