php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79929 unserialize function crash
Submitted: 2020-08-04 15:17 UTC Modified: 2020-11-16 11:35 UTC
From: unebelette at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: Reproducible crash
PHP Version: 7.4.8 OS: Windows 10
Private report: No CVE-ID: None
 [2020-08-04 15:17 UTC] unebelette at gmail dot com
Description:
------------
crash when unserialize(object)

Test script:
---------------
https://pastebin.com/Ufdh8Ara


Expected result:
----------------
works on 7.3.20


Actual result:
--------------
crash on 7.4.8

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-04 15:51 UTC] unebelette at gmail dot com
Hi, I specify that this crash occurs in a Laravel / Lumen context in the following file :
https://github.com/laravel/framework/blob/7.x/src/Illuminate/Cache/DatabaseStore.php#L374
 [2020-08-04 16:36 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-08-04 16:36 UTC] cmb@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2020-08-07 08:24 UTC] unebelette at gmail dot com
-Status: Feedback +Status: Assigned
 [2020-08-07 08:24 UTC] unebelette at gmail dot com
Maybe linked to recently fixed bug https://bugs.php.net/bug.php?id=79740
 [2020-08-07 08:46 UTC] cmb@php.net
-Status: Assigned +Status: Feedback
 [2020-08-07 08:46 UTC] cmb@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2020-08-16 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2020-11-16 11:25 UTC] unebelette at gmail dot com
-Status: No Feedback +Status: Closed
 [2020-11-16 11:25 UTC] unebelette at gmail dot com
The problem is from Ioncube loader

https://forum.ioncube.com/viewtopic.php?p=11754&sid=c5868feeb5df7e9d82b150cf59e09acb#11754
 [2020-11-16 11:35 UTC] cmb@php.net
-Status: Closed +Status: Not a bug
 [2020-11-16 11:35 UTC] cmb@php.net
Thanks!  The info may be useful for others.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 19:01:28 2024 UTC