#31169 [Fbk]: unserialize is broken
ID: 31169
Updated by: helly@php.net
Reported By: michael at digitalgnosis dot com
Status: Feedback
Bug Type: Strings related
Operating System: Linux
PHP Version: 5.0.3
New Comment:
Unless you cannot provide a failing correct input string i see this bug
as closed.
Previous Comments:
------------------------------------------------------------------------
[2004-12-23 22:33:51] helly@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2004-12-23 06:33:11] michael at digitalgnosis dot com
Something in Marcus' changes to unserialize() between versions 5.0.2
and 5.0.3 broke it. The 'code sample' is simply: unserialize($data)
where $data is a 6.4MB serialized array. I can't provide the contents
of $data but it's evident that unserialize() never returns. PHP does
not seg fault.
------------------------------------------------------------------------
[2004-12-18 14:52:58] tony2001@php.net
Please, provide more information. It would be very helpful if you also
provide a short but complete reproduce script and a link to your data.
Just stating that something is broken doesn't help much as it does work
fine for all of us. Thanks in advance.
------------------------------------------------------------------------
[2004-12-18 11:13:20] michael at digitalgnosis dot com
Tested 5.0.x and 5.1.x snapshots; broken there too. Code runs unchanged
in 4.3.0.
------------------------------------------------------------------------
[2004-12-18 03:14:07] jed@php.net
Also, please try a pure build from http://www.php.net/downloads.php and
thank you.
------------------------------------------------------------------------
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/31169
--
Edit this bug report at http://bugs.php.net/?id=31169&edit=1
Thread (9 messages)