Bug #68057 [Asn->Wfx]: Incorrect parsing of big arrays in PHP 5.6.0
| From: | bwoebi@php.net | Date: | Mon, 23 Mar 2015 17:51:51 +0000 |
| Subject: | Bug #68057 [Asn->Wfx]: Incorrect parsing of big arrays in PHP 5.6.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-191548@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68057&edit=1
ID: 68057
Updated by: bwoebi@php.net
Reported by: vostreltsov at gmail dot com
Summary: Incorrect parsing of big arrays in PHP 5.6.0
-Status: Assigned
+Status: Wont fix
Type: Bug
Package: Arrays related
Operating System: Linux
PHP Version: 5.6.0
Assigned To: bwoebi
Block user comment: N
Private report: N
New Comment:
Fixing this is an ABI break (so not really possible for 5.6.x). It's fixed in master (PHP 7+)
though.
Previous Comments:
------------------------------------------------------------------------
[2014-11-16 04:23:48] requinix@php.net
Related To: Bug #68427
------------------------------------------------------------------------
[2014-11-14 08:18:26] vostreltsov at gmail dot com
Any progress on this issue? Changing ushort to uint looks easy to do.
------------------------------------------------------------------------
[2014-09-19 18:55:10] nikic@php.net
Constant expression AST uses ushort child count in 5.6, which is overflowing here.
------------------------------------------------------------------------
[2014-09-19 18:45:28] mamontov dot dp at gmail dot com
Confirmed in Windows 8, using x86 non-thread-safe build.
------------------------------------------------------------------------
[2014-09-19 18:25:14] vostreltsov at gmail dot com
Forgot to mention that the problem appeared after upgrading from 5.5.X (don't remember the
exact version) to 5.6.0.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=68057
--
Edit this bug report at https://bugs.php.net/bug.php?id=68057&edit=1