php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2112 Segmentation fault when accessing a unserialized object
Submitted: 1999-08-20 11:25 UTC Modified: 1999-09-15 07:11 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (20/08/1999) OS: Linux RH 5.2
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: mlemos at acm dot org
New email:
PHP Version: OS:

 

 [1999-08-20 11:25 UTC] mlemos at acm dot org
The following code makes PHP 4 crash with a segmentation fault right when
the unserialized object is accessed.

<?

class test_class
{
 var $variable=1;
};

 $object=new test_class;
 $object=unserialize(serialize($object));
 echo $object->variable,"\n";

?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-21 11:26 UTC] andrey at cvs dot php dot net
Object serialization is not supported yet.
 [1999-09-15 07:11 UTC] thies at cvs dot php dot net
fixed in CVS!

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 16:00:02 2026 UTC