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

Guido Falsi (JIRA) noreply at issues.asterisk.org
Sun Apr 26 05:56:25 CDT 2020


Guido Falsi created ASTERISK-28852:
--------------------------------------

             Summary: 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


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