[asterisk-bugs] [JIRA] (ASTERISK-27498) ICE candidate parser - ICE foundation parsing too short

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Aug 8 10:15:01 CDT 2018


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

Asterisk Team updated ASTERISK-27498:
-------------------------------------

    Target Release Version/s: 16.0.0

> ICE candidate parser - ICE foundation parsing too short
> -------------------------------------------------------
>
>                 Key: ASTERISK-27498
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27498
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.18.2, 15.1.4
>            Reporter: Michele PrĂ 
>            Severity: Minor
>              Labels: pjsip
>      Target Release: 13.20.0, 15.3.0, 16.0.0
>
>
>  https://tools.ietf.org/html/rfc5245#section-15.1
> rfc for candidate reporting that foundation can be 1*32ice-char but asterisk parser limit to 31 char 
> sscanf(a, "candidate: %31s %30u %3s %30u %23s %30u typ %5s %*s %23s %*s %30u", foundation, &candidate.id, transport,
>  (unsigned*) & candidate.priority, address, &port, cand_type, relay_address, &relay_port)
> it's easy to fix in chan_sip.c in method process_sdp_a_ice



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



More information about the asterisk-bugs mailing list