[asterisk-bugs] [JIRA] (ASTERISK-28852) Unprotected access to nochecksums variable, causes build failures

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Apr 28 13:59:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250569#comment-250569 ] 

Friendly Automation commented on ASTERISK-28852:
------------------------------------------------

Change 14351 merged by Friendly Automation:
res_rtp_asterisk: Protect access to nochecksums with #ifdef

[https://gerrit.asterisk.org/c/asterisk/+/14351|https://gerrit.asterisk.org/c/asterisk/+/14351]

> Unprotected access to nochecksums variable, causes build failures
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-28852
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28852
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.33.0, 16.10.0, 17.4.0
>         Environment: FreeBSD ports system.
>            Reporter: Guido Falsi
>            Assignee: Guido Falsi
>
> WHile testing the latest RCs on FreeBSD I encountered build failures. I noticed a recent commit, titled res_rtp_asterisk: Add 'rtp show settings' cli command, has added code accessing the nochecksums variable.
> This variable is defined only when SO_NO_CHECK is defined, and this new access is unprotected by a check for this define.
> I'm going to provide a patch protecting such access with an ifdef.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list