php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11580 array manipulation makes apache segfault
Submitted: 2001-06-20 09:28 UTC Modified: 2001-06-20 13:23 UTC
From: joffrey at ne2000 dot nl Assigned:
Status: Closed Package: Arrays related
PHP Version: 4.0.5 OS: Linux 2.2.18
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: joffrey at ne2000 dot nl
New email:
PHP Version: OS:

 

 [2001-06-20 09:28 UTC] joffrey at ne2000 dot nl
manipulating an array like this will make apache segfault:

$array[0] = "x";
$array = $array[0];
$array[0] = $array[1];

tested in 4.0.5, 4.0.4pl1 and 4.0.3pl1... all segfault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-20 12:36 UTC] sniper@php.net
Doesn't segfault for me with PHP 4.0.6RC4 but I get 
this into error_log:

---------------------------------------
./zend_execute.c(285) : Block 0x40A4C063 status:
Beginning:      Overrun (magic=0x676E6972, expected=0x7312F8DC)
      End:      Unknown
---------------------------------------


 [2001-06-20 13:23 UTC] andi@php.net
Fixed.
Thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC