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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 22:01:28 2025 UTC