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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Mar 11 09:47:47 CDT 2019


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

Friendly Automation closed ASTERISK-28321.
------------------------------------------

    Resolution: Fixed

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