[asterisk-bugs] [JIRA] (ASTERISK-20772) Loop bug in ast_rtp_lookup_mime_multiple2() [main/rtp_engine.c]

Xavier Hienne (JIRA) noreply at issues.asterisk.org
Thu Dec 6 11:20:45 CST 2012


Xavier Hienne created ASTERISK-20772:
----------------------------------------

             Summary: Loop bug in ast_rtp_lookup_mime_multiple2() [main/rtp_engine.c]
                 Key: ASTERISK-20772
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20772
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/RTP
    Affects Versions: 1.8.19.0, 11.1.0
            Reporter: Xavier Hienne
            Severity: Minor


In ast_rtp_lookup_mime_multiple2() [main/rtp_engine.c], we are looping through the AST_RTP_xxx capabilities, but due to the erroneous end condition, we are missing the last one (AST_RTP_CISCO_DTMF == AST_RTP_MAX).

The end condition should be (format <= AST_RTP_MAX) instead.

(bug tagged as minor because it just affects the debugging output)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list