1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-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
..
2006-10-09 16:02:34 +00:00
2012-08-07 01:48:32 -07:00
2006-10-09 16:02:34 +00:00
2012-08-07 01:48:32 -07:00
2006-10-09 16:02:34 +00:00
2006-10-09 16:02:34 +00:00
2012-08-07 01:48:31 -07:00
2006-10-09 16:02:34 +00:00
2006-10-09 16:02:34 +00:00
2006-10-09 16:02:34 +00:00
2006-10-09 16:02:34 +00:00
2005-10-27 14:06:39 +00:00