|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58354 [PATCH] Hidef - segfault when serializing FrozenArray and TSRM fixes
Submitted: 2008-09-25 08:35 UTC Modified: 2011-01-09 08:50 UTC
From: Assigned:
Status: Closed Package: hidef (PECL)
PHP Version: 5_3 CVS-2008-09-25 (dev) OS:
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:
Solve the problem:
33 - 6 = ?
Subscribe to this entry?

 [2008-09-25 08:35 UTC]

Reproduce code:

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

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

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-25 08:37 UTC]
Change bug type...
 [2008-09-26 10:50 UTC] gopalv82 at yahoo dot com
Part of the fix in

I need to prevent serialization, ctor and object write mode before I put out a 0.1.2 release.
 [2011-01-09 08:50 UTC]
Closing old bugs, I fixed the serialization issue recently.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 13:01:29 2024 UTC