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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 - 30 = ?
Subscribe to this entry?

 
 [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: Sat Apr 27 09:01:29 2024 UTC