svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/calendar/gregor.c branches/PHP_5_3/ext/calendar/tests/bug55797_1.phpt
branches/PHP_5_3/ext/calendar/tests/bug55797_2.phpt branches/PHP_5_4/ext/calendar/gregor.c branches/PHP_5_4/ext/calendar/tests/bug55797_1.phpt
branches/PHP_5_4/ext/calendar/tests/bug55797_2.phpt trunk/ext/calendar/gregor.c trunk/ext/calendar/tests/bug55797_1.phpt
trunk/ext/calendar/tests/bug55797_2.phpt
| From: | Gustavo André dos Santos Lopes | Date: | Tue, 27 Sep 2011 10:57:25 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/calendar/gregor.c branches/PHP_5_3/ext/calendar/tests/bug55797_1.phpt branches/PHP_5_3/ext/calendar/tests/bug55797_2.phpt branches/PHP_5_4/ext/calendar/gregor.c branches/PHP_5_4/ext/calendar/tests/bug55797_1.phpt branches/PHP_5_4/ext/calendar/tests/bug55797_2.phpt trunk/ext/calendar/gregor.c trunk/ext/calendar/tests/bug55797_1.phpt trunk/ext/calendar/tests/bug55797_2.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66680@lists.php.net to get a copy of this message | ||
cataphract Tue, 27 Sep 2011 10:57:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=317387
Log:
- Added tests and NEWS for r306475; see bug #55797.
- Removed now redundant previous overflow check, which relied on
undefined behavior (wraparound) and was ignored in optimized builds.
Bug: https://bugs.php.net/55797 (Closed) Integer overflow
in SdnToGregorian leads to segfault (in optimized builds)
Changed paths:
U php/php-src/branches/PHP_5_3/NEWS
U php/php-src/branches/PHP_5_3/ext/calendar/gregor.c
A php/php-src/branches/PHP_5_3/ext/calendar/tests/bug55797_1.phpt
A php/php-src/branches/PHP_5_3/ext/calendar/tests/bug55797_2.phpt
U php/php-src/branches/PHP_5_4/ext/calendar/gregor.c
A php/php-src/branches/PHP_5_4/ext/calendar/tests/bug55797_1.phpt
A php/php-src/branches/PHP_5_4/ext/calendar/tests/bug55797_2.phpt
U php/php-src/trunk/ext/calendar/gregor.c
A php/php-src/trunk/ext/calendar/tests/bug55797_1.phpt
A php/php-src/trunk/ext/calendar/tests/bug55797_2.phpt
Attachment: [text/x-diff] svn-diffs-317387.txt
Attachment: [text/x-diff] svn-diffs-317387.txt