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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Mar 26 17:15:34 CDT 2015


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

Matt Jordan commented on ASTERISK-24887:
----------------------------------------

Thanks for the contribution! If you'd like your contribution to be included faster, you should submit your patch for code review by the Asterisk Developer Community. To do so, please follow the Code Review [1] instructions on the wiki. Be sure to:
* Verify that your patch conforms to the Coding Guidelines [2]
* Review the Code Review Checklist [3] for common items reviewers will look for
* If necessary, provide tests for the Asterisk Test Suite that verify the correctness of your patch [4]

When ready, submit your patch and any tests to Review Board [5] for code review.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Code+Review
[2] https://wiki.asterisk.org/wiki/display/AST/Coding+Guidelines
[3] https://wiki.asterisk.org/wiki/display/AST/Code+Review+Checklist
[4] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation
[5] https://wiki.asterisk.org/wiki/display/AST/Review+Board+Usage



> [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
>         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