Fix integer overflow in calender.
authorJoshua Rogers <git@internot.info>
Mon, 19 Jan 2015 10:31:15 +0000 (21:31 +1100)
committerJoe Watkins <krakjoe@php.net>
Sat, 12 Nov 2016 17:33:51 +0000 (17:33 +0000)
commit1b8cfaf23dc6c2e89f502bdc3e9da7e5abb2488b
tree1ef69a6d48c6b512e8f2f8931789e7374852bc4c
parentf578ce3a13f8ea6147e8ff92cde4470a522fd619
Fix integer overflow in calender.

Fix int overflows in conversation functions for calendar.
Add tests for the overflows.
ext/calendar/calendar.c
ext/calendar/gregor.c
ext/calendar/julian.c
ext/calendar/tests/gregoriantojd_overflow.phpt [new file with mode: 0644]
ext/calendar/tests/juliantojd_overflow.phpt [new file with mode: 0644]