Bug #78472 [NEW]: Crash on unserializing large dataset
| From: | martin at tiogatours dot nl | Date: | Wed, 28 Aug 2019 14:54:17 +0000 |
| Subject: | Bug #78472 [NEW]: Crash on unserializing large dataset | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222469@lists.php.net to get a copy of this message | ||
From: martin at tiogatours dot nl
Operating system: Windows 10 x64
PHP version: 7.4.0beta4
Package: Reproducible crash
Bug Type: Bug
Bug description:Crash on unserializing large dataset
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 bug report at https://bugs.php.net/bug.php?id=78472&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78472&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78472&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78472&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78472&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78472&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78472&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78472&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78472&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78472&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78472&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78472&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78472&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78472&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78472&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78472&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78472&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78472&r=mysqlcfg