#31442 [Asn->Fbk]: unserialize broken on 64-bit systems

From: Date: Mon, 07 Mar 2005 16:42:47 +0000
Subject: #31442 [Asn->Fbk]: unserialize broken on 64-bit systems
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76977@lists.php.net to get a copy of this message
ID: 31442 Updated by: sesser@php.net Reported By: michal at cihar dot com -Status: Assigned +Status: Feedback Bug Type: Zend Engine 2 problem Operating System: 64-bit PHP Version: 4.3.10, 5.0.3 Assigned To: helly New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip This should be fixed since 17. January in CVS Previous Comments: ------------------------------------------------------------------------ [2005-03-07 15:21:38] michal at cihar dot com The patch works fine also on 5.0.3, I have no idea what could break tests for you... ------------------------------------------------------------------------ [2005-01-08 20:00:53] michal at cihar dot com I can't reproduce these failures here (php 4.3.10). ------------------------------------------------------------------------ [2005-01-08 18:39:07] helly@php.net php run-tests.php ext/standard/tests/serialize ... FAILED TEST SUMMARY --------------------------------------------------------------------- serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt] Bug #25378 (unserialize() crashes with invalid data) [ext/standard/tests/serialize/002.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] Bug #21957 (serialize() mangles objects with __sleep) [ext/standard/tests/serialize/bug21957.phpt] Bug #25378 (unserialize() crashes with invalid data) [ext/standard/tests/serialize/bug25378.phpt] Bug #28325 (Problem in serialisation of circular references) [ext/standard/tests/serialize/bug28325.phpt] ------------------------------------------------------------------------ [2005-01-08 18:32:38] michal at cihar dot com What kind of tests do fail? I have no idea what could be broken by this change. ------------------------------------------------------------------------ [2005-01-08 14:41:01] helly@php.net If i apply that patch to a 32 bit machine i get many test errors any idea? Also it is enough to put the .re diff ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31442 -- Edit this bug report at http://bugs.php.net/?id=31442&edit=1

« previous php.bugs (#76977) next »