[asterisk-bugs] [JIRA] (ASTERISK-28321) res_rtp_asterisk: Fixing possible divide by zero for rtcp stat calculation

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Apr 1 13:08:51 CDT 2019


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

Kevin Harwell updated ASTERISK-28321:
-------------------------------------

    Target Release Version/s: 13.26.0

> res_rtp_asterisk: Fixing possible divide by zero for rtcp stat calculation
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-28321
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28321
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 16.2.1
>            Reporter: sungtae kim
>            Assignee: sungtae kim
>            Severity: Minor
>      Target Release: 13.26.0
>
>
> Currently, stddev_compute() gets unsigned integer as a parameter for sample_count, and increasing 1 before calculation.
> This would be fine for most of cases, but in case of large enough number of sample_count, this might be causing the divide by zero error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list