[asterisk-bugs] [JIRA] (ASTERISK-29987) Integer Overflow in Asterisk Scheduler

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Mar 25 11:45:07 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell closed ASTERISK-29987.
------------------------------------

    Resolution: Duplicate

> 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
>
> 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