Bug #51274 [Opn->Asn]: Integer overflow does not cast as float
| From: | tony2001@php.net | Date: | Tue, 08 Jun 2010 12:56:33 +0000 |
| Subject: | Bug #51274 [Opn->Asn]: Integer overflow does not cast as float | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151205@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51274&edit=1
ID: 51274
Updated by: tony2001@php.net
Reported by: cduncan at regatta dot com
Summary: Integer overflow does not cast as float
-Status: Open
+Status: Assigned
Type: Bug
Package: Scripting Engine problem
Operating System: Linux
PHP Version: 5.3.2
-Assigned To:
+Assigned To: aharvey
Previous Comments:
------------------------------------------------------------------------
[2010-04-13 16:42:21] cduncan at regatta dot com
I am now able to reproduce the problem, what extra information do you
require to debug?
------------------------------------------------------------------------
[2010-03-26 10:17:04] cduncan at regatta dot com
Thanks, I was worried I was going mad for a moment there.
Unfortunately I can't reproduce it on the machines I'm using at the
moment. The machine I was experiencing it on was a production box, so
finding time to reproduce it again could be tricky.
Once I am able to do so, what extra information would assist in tracking
this down?
Thanks
------------------------------------------------------------------------
[2010-03-26 09:24:56] aharvey@php.net
Oh, I see what you're getting at now. Sorry about that.
I still can't reproduce it, though.
------------------------------------------------------------------------
[2010-03-26 09:16:37] cduncan at regatta dot com
Sorry but I'm misunderstanding what you are telling me. Why is the
number reduced to the 32bit limit? (2147483647)
Especially if you're saying the only way this could occur is with a
64bit OS?
As I stated in my last edit, wouldn't a 64bit OS return:
int(2147483648)
------------------------------------------------------------------------
[2010-03-26 07:50:20] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=296829
Log: Update to the integer type page to make it clearer how overflow
works on 32-
and 64-bit systems and what the critical thresholds are. Prompted by
bug #51274, although not an actual fix for it.
------------------------------------------------------------------------
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/bug.php?id=51274
--
Edit this bug report at http://bugs.php.net/bug.php?id=51274&edit=1