php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59645 Core dump when referencing previous blocks
Submitted: 2011-03-04 10:50 UTC Modified: 2017-04-01 21:44 UTC
From: mike dot squire at gmail dot com Assigned:
Status: Wont fix Package: syck (PECL)
PHP Version: 5.3.2 OS: RHEL 64bit x86
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: mike dot squire at gmail dot com
New email:
PHP Version: OS:

 

 [2011-03-04 10:50 UTC] mike dot squire at gmail dot com
Description:
------------
Using '*' to reference a block previously defined with '&' causes core dumps and "zend_mm_heap corrupted" messages.

Reproduce code:
---------------
var_dump(syck_load("
a: &b
  c: x

d: *b
"));

Expected result:
----------------
array(2) {
  ["a"]=>
  array(1) {
    ["c"]=>
    string(1) "x"
  }
  ["d"]=>
  array(1) {
    ["c"]=>
    string(1) "x"
  }
}


Actual result:
--------------
Segmentation fault (core dumped)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 21:44 UTC] tpunt@php.net
-Status: Open +Status: Wont fix
 [2017-04-01 21:44 UTC] tpunt@php.net
Due to this extension not seeing any activity since 2008, this issue will not be fixed. We are therefore closing this now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 10:01:28 2025 UTC