Edit report at https://bugs.php.net/bug.php?id=53574&edit=1
ID: 53574 Updated by: [email protected] Reported by: m dot kocielski at gmail dot com Summary: Integer overflow in SdnToJulian -Status: Re-Opened +Status: Closed Type: Bug Package: Calendar related Operating System: Linux PHP Version: 5.5.0-dev Assigned To: cataphract Block user comment: N Private report: N New Comment: Closing, see bug #55797. Previous Comments: ------------------------------------------------------------------------ [2011-09-27 00:53:22] [email protected] Automatic comment from SVN on behalf of tyrael Revision: http://svn.php.net/viewvc/?view=revision&revision=317366 Log: split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit ------------------------------------------------------------------------ [2011-09-26 22:38:01] [email protected] Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&revision=317360 Log: - Fixed bug in SdnToGregorian (see comments on #53574, though that bug is about another function). NEWS & tests tomorrow. ------------------------------------------------------------------------ [2011-09-26 21:27:20] [email protected] on 64bit: tyrael@phpize:~/checkouts/php-src/trunk$ ./sapi/cli/php -r 'print_r(cal_from_jd(9223372036854743639, CAL_GREGORIAN));' Segmentation fault ------------------------------------------------------------------------ [2011-09-26 20:56:50] [email protected] on 32bit with the current trunk: tyrael@phpize32:~/checkouts/php-src/trunk$ ./sapi/cli/php -r 'print_r(cal_from_jd(882858030, CAL_GREGORIAN));' Segmentation fault I will split the test(ext/calendar/tests/bug53574.log) into two separate test, one for 32bit, one for 64bit, as the EXPECT cannot test both case in one test easily. ------------------------------------------------------------------------ [2010-12-20 00:47:19] [email protected] This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ 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=53574 -- Edit this bug report at https://bugs.php.net/bug.php?id=53574&edit=1
