[asterisk-bugs] [JIRA] (ASTERISK-29987) Integer Overflow in Asterisk Scheduler
Cabel McCoy (JIRA)
noreply at issues.asterisk.org
Fri Mar 25 10:54:07 CDT 2022
Cabel McCoy created ASTERISK-29987:
--------------------------------------
Summary: Integer Overflow in Asterisk Scheduler
Key: ASTERISK-29987
URL: https://issues.asterisk.org/jira/browse/ASTERISK-29987
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: General
Affects Versions: 18.4.0
Environment: x86_64 GNU/Linux
Reporter: Cabel McCoy
Severity: Major
main/sched.c millisecond integer overflow.
Found this issue when using SIP registration expiration > 2147473 seconds.
Causes the scheduler to fail or run at incorrect times.
The integer overflows during the conversion from seconds to milliseconds. For example "AST_SCHED_REPLACE_UNREF(peer->expire, sched, (expire + 10) * 1000" in chan_sip.c line 16797
Thanks,
-Cabel McCoy
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list