[asterisk-bugs] [JIRA] (ASTERISK-29856) res_rtp_asterisk: Invalid comparison creates unreachable code
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Thu Feb 3 07:01:09 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-29856:
-------------------------------------
Target Release Version/s: 19.2.0
> res_rtp_asterisk: Invalid comparison creates unreachable code
> -------------------------------------------------------------
>
> Key: ASTERISK-29856
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29856
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_rtp_asterisk
> Affects Versions: 18.9.0
> Reporter: N A
> Assignee: N A
> Target Release: 19.2.0, 18.10.0, 16.24.0
>
>
> This code doesn't make any sense: https://github.com/asterisk/asterisk/blob/59fcd1e7e20de07ceece67e27d7db7260d465772/res/res_rtp_asterisk.c#L5760
> This flag isn't set initially, and the code reads (if flag is set, set the flag).
> I think the if comparison is missing a not here.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list