[asterisk-bugs] [JIRA] (ASTERISK-24887) 2 or more digits tag are not accepted in a=crypto lines

Makoto Dei (JIRA) noreply at issues.asterisk.org
Mon Mar 16 23:25:34 CDT 2015


Makoto Dei created ASTERISK-24887:
-------------------------------------

             Summary: 2 or more digits tag are not accepted in a=crypto lines
                 Key: ASTERISK-24887
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24887
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/SRTP
    Affects Versions: 11.17.0
            Reporter: Makoto Dei
            Severity: Minor


RFC 4568 Section 9.1 (https://tools.ietf.org/html/rfc4568#section-9.1) says:

   "a=crypto:" tag 1*WSP crypto-suite 1*WSP key-params
                                           *(1*WSP session-param)

   tag              = 1*9DIGIT


So valid tag is between 0 and 999999999.
But SDP parser of chan_sip accepts only tag between 1 and 9.

Attached patch will fix the problem.




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



More information about the asterisk-bugs mailing list