[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:26:45 CST 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200473#comment-200473 ]
Xavier Hienne commented on ASTERISK-20772:
------------------------------------------
BTW, I was referring to the 1.8 branch. In the Asterisk-11 branch, the end condition should be (x <= AST_RTP_MAX) of course.
> 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