#46646 [Asn->Csd]: serialize/unserialize og splfileinfo segfaults

From: Date: Mon, 22 Dec 2008 13:58:41 +0000
Subject: #46646 [Asn->Csd]: serialize/unserialize og splfileinfo segfaults
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132242@lists.php.net to get a copy of this message
ID: 46646 Updated by: colder@php.net Reported By: colder@php.net -Status: Assigned +Status: Closed Bug Type: SPL related PHP Version: 6CVS-2008-11-22 (CVS) Assigned To: colder New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-11-22 17:51:26] felipe@php.net Another detail: var_dump(unserialize(serialize(new splfileinfo(__FILE__)))); object(SplFileInfo)#1 (1) { [u"pathName":u"SplFileInfo":private]=> NULL } [Sat Nov 22 15:43:48 2008] Script: '../bug.php' /home/felipe/dev/php6/ext/spl/spl_directory.c(612) : Freeing 0x09BA8F78 (1 bytes), script=../bug.php === Total 1 memory leaks detected === ------------------------------------------------------------------------ [2008-11-22 17:35:17] colder@php.net Description: ------------ splfileinfo serialization/unserialization segfaults in HEAD Reproduce code: --------------- print (string) unserialize(serialize(new splfileinfo(__FILE__))); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46646&edit=1

« previous php.bugs (#132242) next »