Summary: | dev-lang/php: Incorrect array key cast (string to integer) when key > PHP_INT_MAX | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | thorn <thor_n> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.php.net/bug.php?id=52899 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
thorn
2010-09-21 14:34:47 UTC
Bug details: http://bugs.php.net/bug.php?id=52899 I'll try it later today, can you retry with php-5.3.3 in the meantime? And no, none of our patches should affect that area :) I tried php-5.3.3-r1 but the results are same as with 5.2.14. I managed to reproduce this issue on one machine, both 5.3 and 5.2, but not on another (only 5.3). I'll try compiling 5.3 with identical USE flags on both machines to see if I can track down the issue. New light shed into the problem from php guy: http://bugs.php.net/bug.php?id=52899 was marked as duplicate of bug http://bugs.php.net/bug.php?id=51008 with proposed patch from debian. Fixed upstream. I'll try to dig up the patch they used. Maybe we can pull it. If someone beats me to it: please attach it here. I'll include it in the latest patchset and release a new php version. I tried and got a patch, unfortunately it breaks the build. So I'm leaving this until next upstream release or somebody producing a working patch (could be me, if i find the time), whichever comes sooner. Sorry about that, but the fix seems non-trivial and I'm not deep enough into php source to fix this. Seems to be fixed in 5.3.4 Thanks for the report! |