[asterisk-bugs] [JIRA] (ASTERISK-25742) Secondary IFP Packets can result in accessing uninitialized pointers and a crash

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Feb 3 15:43:33 CST 2016


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

Kevin Harwell updated ASTERISK-25742:
-------------------------------------

    Target Release Version/s: 13.7.1
                              11.21.1

> Secondary IFP Packets can result in accessing uninitialized pointers and a crash
> --------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25742
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25742
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/UDPTL
>    Affects Versions: 11.22.0
>            Reporter: Torrey Searle
>      Target Release: 11.21.1, 13.7.1
>
>         Attachments: patch
>
>
> upon receiving the following udptl packet
> 80 12 (sequence number)
> 07 (primary ifp length)
> 8A 50 FF 3D 45 3E 5E  (primary ifp packet)
> 52 (2ndary Packet mode)
> 01 (number of redundant packets)
> 00 (length)
> The method decode_open_type will return without setting values for bufs[total_count + i] and lengths[total_count + i] 
> since neither of these arrays were memset to 0,  the 0 length packet check on line 392 of udptl.c will fail to skip this packet and instead return a frame to a pointer to a random piece of memory & crashing



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



More information about the asterisk-bugs mailing list