|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [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 14:01:31 2024 UTC