Bug #55061 [Ver]: Array autoindex[] overflow
| From: | yohgaki@php.net | Date: | Tue, 15 Jul 2014 12:00:33 +0000 |
| Subject: | Bug #55061 [Ver]: Array autoindex[] overflow | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186630@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55061&edit=1
ID: 55061
Updated by: yohgaki@php.net
Reported by: vovan-ve at yandex dot ru
Summary: Array autoindex[] overflow
Status: Verified
Type: Bug
Package: Arrays related
Operating System: Windows and 32bit OS
PHP Version: *
Block user comment: N
Private report: N
New Comment:
Values exceeds 64bit causes the same issue even with 64bit int.
Previous Comments:
------------------------------------------------------------------------
[2014-07-15 11:58:46] yohgaki@php.net
http://3v4l.org/B0Ao5
32 bit int issue.
------------------------------------------------------------------------
[2012-07-03 15:45:21] pollita@php.net
Reproduced on Debian.
Tempting as it may be to go the string index route for values greater than
PHP_INT_MAX, I'm more inclined to get a workable Big Int in PHP first, then use
that for the index (beyond PHP_INT_MAX)
------------------------------------------------------------------------
[2012-02-27 23:45:25] vovan-ve at yandex dot ru
Reproduced with the same behaviour and result in Ubuntu 11.10 i386.
------------------------------------------------------------------------
[2011-07-29 14:39:20] vovan-ve at yandex dot ru
No, I have no non-official extensions. I have disabled all extensions for test even. May be your int
is not int32?
------------------------------------------------------------------------
[2011-07-27 06:52:24] laruence@php.net
I can not reproduce this warning, do you have non-php-official extension installed?
if yes, plz remove them then check again. thanks
------------------------------------------------------------------------
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=55061
--
Edit this bug report at https://bugs.php.net/bug.php?id=55061&edit=1