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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Dec 13 18:07:45 CST 2012


Rusty Newton created ASTERISK-20797:
---------------------------------------

             Summary: Loop bug in ast_rtp_lookup_mime_multiple2() [main/rtp_engine.c]
                 Key: ASTERISK-20797
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20797
             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