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

Digium Subversion (JIRA) noreply at issues.asterisk.org
Wed Jan 9 14:32:46 CST 2013


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

Digium Subversion closed ASTERISK-20772.
----------------------------------------

    Resolution: Fixed
    
> 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