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

sungtae kim (JIRA) noreply at issues.asterisk.org
Sun Mar 3 09:22:47 CST 2019


sungtae kim created ASTERISK-28321:
--------------------------------------

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