You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Signed integer overflow in ext/date/php_date.c #14709
/php-src/ext/date/php_date.c:5113:35: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/ext/date/php_date.c:5113:35
@devnexen, I just had a look at devnexen@dfa93a3 and this looks quite good (recurrences should probably less than INT_MAX-2, to cater to the possible additions). Are you planning to submit a PR?
Activity
cmb69 commentedon Dec 3, 2024
@devnexen, I just had a look at devnexen@dfa93a3 and this looks quite good (recurrences should probably less than INT_MAX-2, to cater to the possible additions). Are you planning to submit a PR?
devnexen commentedon Dec 3, 2024
AFAIK I probably already created a PR, just forgot to attach it.
#14710
Fix phpGH-14709 overflow on recurrences for DatePeriod::__construct
Fix GH-14709 overflow on recurrences for DatePeriod::__construct