[asterisk-bugs] [JIRA] (ASTERISK-24887) [patch]tags in a=crypto lines do not accept 2 or more digits

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu May 21 15:24:39 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-24887:
-------------------------------------

    Target Release Version/s: 11.18.0

> [patch]tags in a=crypto lines do not accept 2 or more digits
> ------------------------------------------------------------
>
>                 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
>      Target Release: 11.18.0, 13.4.0
>
>         Attachments: sip-crypto-tag.patch
>
>
> 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