Bug #78472 [Opn->Csd]: Crash on unserializing large dataset
| From: | nikic@php.net | Date: | Wed, 28 Aug 2019 15:03:07 +0000 |
| Subject: | Bug #78472 [Opn->Csd]: Crash on unserializing large dataset | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222470@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78472&edit=1
ID: 78472
Updated by: nikic@php.net
Reported by: martin at tiogatours dot nl
Summary: Crash on unserializing large dataset
-Status: Open
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Windows 10 x64
PHP Version: 7.4.0beta4
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
We fixed a couple of serialization related bugs in 7.4 recently, and both of your examples run fine
on current 7.4 HEAD. So this will be resolved in the next release :)
Previous Comments:
------------------------------------------------------------------------
[2019-08-28 14:54:17] martin at tiogatours dot nl
Description:
------------
I got unexpected PHP crashes when unserializing a object. There is no recursiveness in the
serialized object as the data is created from a JSON object.
However, when you disable the recursive ArrayObject creation, the script succeeds. Also, when
creating a recursive stdClass(), the problem doesn't exist
Test script:
---------------
Error unserializing with ArrayObject:
https://3v4l.org/hbSRC
This succeeds with the stdClass:
https://3v4l.org/HNXR6
Expected result:
----------------
Valid unserializing
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78472&edit=1