[PECL-BUG] Bug #14707 [NEW]: [PATCH] Hidef - segfault when serializing FrozenArray and TSRM fixes

[email protected] ("felipe at php dot net")
Newsgroups php.pear.webmaster
Message-ID <[email protected]>
From:             felipe at php dot net
Operating system: 
Package version:  
PHP version:      5_3 CVS-2008-09-25 (dev)
Package:          Bug System
Bug Type:         Bug
Bug description:  [PATCH] Hidef - segfault when serializing FrozenArray and TSRM fixes

Description:
------------
Suggestion:
http://felipe.ath.cx/diff/hidef-tsrm-and-serialize.diff

Reproduce code:
---------------
<?php


$x = new frozenarray;
$x->bar = 2;
$x->foo[] = 1;

$h = serialize($x);
printf("%s\n", unserialize($h));

Actual result:
--------------
SIGSEGV

-- 
Edit bug report at http://pecl.php.net/bugs/bug.php?id=14707&edit=1
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.