php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3103 Using the same variable twice in a list() command results in a coredump
Submitted: 2000-01-05 01:27 UTC Modified: 2000-02-11 23:16 UTC
From: oliver at billix dot franken dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (05/01/2000) OS: Linux 2.0.38
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: oliver at billix dot franken dot de
New email:
PHP Version: OS:

 

 [2000-01-05 01:27 UTC] oliver at billix dot franken dot de
This little program

<?php
  list ( $x , $x ) = array ( 1 , 2 );
?>

leads to the following output and a coredump:

[Wed Jan  5 01:26:36 2000]  Script:  'test.php'
---------------------------------------
zend_alloc.c(355) : Block 0x08158168 status:
Beginning:      Overrun (magic=0x5A5A5A5A, expected=0x7312F8DC)
      End:      Unknown
---------------------------------------
Segmentation fault (core dumped)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-11 23:16 UTC] andrei at cvs dot php dot net
Should be fixed in the latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC