php-src/ext/calendar/tests
Christoph M. Becker f67ccd4a7b Fix #71894: AddressSanitizer: global-buffer-overflow in zif_cal_from_jd
Julian days < 347998 denote invalid Jewish calendar dates, so
cal_from_jd($jd, CAL_JEWISH) and jdmonthname($jd, CAL_MONTH_JEWISH) should
actually fail. For BC we don't yet let them though, but we fix the OOB read
that happens in this case, and we also adjust cal_from_jd()'s return value
to have empty strings for "abbrevdayname" and "dayname" instead of "Sun"/
"Sunday" and NULL for "dow" instead of 0, which doesn't make any sense.
2016-07-29 01:04:21 +02:00
..
bug52744.phpt Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). Original 2010-09-09 06:41:23 +00:00
bug53574_1.phpt split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit 2011-09-27 00:53:41 +00:00
bug53574_2.phpt split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit 2011-09-27 00:53:41 +00:00
bug54254.phpt Add test for interoperability of jdtojewish and cal_days_in_month 2012-08-07 01:48:31 -07:00
bug55797_1.phpt - Added tests and NEWS for r306475; see bug #55797. 2011-09-27 10:57:25 +00:00
bug55797_2.phpt - Added tests and NEWS for r306475; see bug #55797. 2011-09-27 10:57:25 +00:00
bug67976.phpt Fix #67976: cal_days_month() fails for final month of the French calendar 2016-07-28 19:13:58 +02:00
bug71894.phpt Fix #71894: AddressSanitizer: global-buffer-overflow in zif_cal_from_jd 2016-07-29 01:04:21 +02:00
cal_days_in_month.phpt - Remve bogus part of test 2005-11-06 12:25:53 +00:00
cal_from_jd.phpt MFH tests 2006-10-09 16:02:34 +00:00
cal_info.phpt text fixes from emosenkis 2012-08-07 01:48:32 -07:00
cal_to_jd.phpt
easter_date.phpt it seems that easter_date doesn't use the date.timezone but the TZ environment variable, so it passing the return value of easter_date() to date() which uses the date.timezone will create wrong result. 2011-09-22 20:59:10 +00:00
easter_days.phpt
frenchtojd.phpt
gregoriantojd.phpt MFH tests 2006-10-09 16:02:34 +00:00
jddayofweek.phpt Fixes #67960 - Long/short day names reversed in jddayofweek() 2015-01-02 10:14:12 +01:00
jdmonthname.phpt text fixes from emosenkis 2012-08-07 01:48:32 -07:00
jdtofrench.phpt MFH tests 2006-10-09 16:02:34 +00:00
jdtogregorian_overflow.phpt Implement FR #65462: Please add tests for gregorian and jewish overflow fixes 2016-07-28 19:59:14 +02:00
jdtogregorian.phpt MFH tests 2006-10-09 16:02:34 +00:00
jdtojewish64.phpt Fixed bug #64895 Integer overflow in SndToJewish 2013-05-22 08:28:05 +02:00
jdtojewish_overflow.phpt Implement FR #65462: Please add tests for gregorian and jewish overflow fixes 2016-07-28 19:59:14 +02:00
jdtojewish.phpt some fixes for bug#54254 2012-08-07 01:48:31 -07:00
jdtojulian.phpt MFH tests 2006-10-09 16:02:34 +00:00
jdtomonthname.phpt Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
jdtounix.phpt MFH tests 2006-10-09 16:02:34 +00:00
jewishtojd.phpt MFH tests 2006-10-09 16:02:34 +00:00
juliantojd.phpt MFH tests 2006-10-09 16:02:34 +00:00
skipif.inc One check is enough. 2005-10-27 14:06:39 +00:00
unixtojd.phpt typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:33:43 -08:00