[asterisk-bugs] [JIRA] (ASTERISK-26118) res_srtp: ASAN: heap-use-after-free in ast_srtp_protect

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Jun 16 19:00:56 CDT 2016


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

Rusty Newton updated ASTERISK-26118:
------------------------------------

    Status: Open  (was: Triage)

> res_srtp: ASAN: heap-use-after-free in ast_srtp_protect
> -------------------------------------------------------
>
>                 Key: ASTERISK-26118
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26118
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_srtp
>    Affects Versions: 13.9.1
>            Reporter: Badalian Vyacheslav
>            Severity: Minor
>
> {code}
> ==3982==ERROR: AddressSanitizer: heap-use-after-free on address 0x62900346e26c at pc 0x7f0552853dd4 bp 0x7f054c725310 sp 0x7f054c724ab8
> WRITE of size 64 at 0x62900346e26c thread T135
>     #0 0x7f0552853dd3 in __asan_memcpy (/lib64/libasan.so.2+0x8cdd3)
>     #1 0x7f054b939199 in ast_srtp_protect /root/asterisk-13.9.1/res/res_srtp.c:430
>     #2 0x7f053333f051 in __rtp_sendto /root/asterisk-13.9.1/res/res_rtp_asterisk.c:2257
>     #3 0x7f0533348894 in rtcp_sendto /root/asterisk-13.9.1/res/res_rtp_asterisk.c:2282
>     #4 0x7f0533348894 in ast_rtcp_write_report /root/asterisk-13.9.1/res/res_rtp_asterisk.c:3169
>     #5 0x7f05333499a4 in ast_rtcp_write /root/asterisk-13.9.1/res/res_rtp_asterisk.c:3249
>     #6 0x7567c9 in ast_sched_runq /root/asterisk-13.9.1/main/sched.c:783
>     #7 0x7f051cc1e9d4 in do_monitor /root/asterisk-13.9.1/channels/chan_sip.c:29459
>     #8 0x7e58b5 in dummy_start /root/asterisk-13.9.1/main/utils.c:1235
>     #9 0x7f0550c6adc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
>     #10 0x7f054ff4a28c in clone (/lib64/libc.so.6+0xf628c)
> {code}



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



More information about the asterisk-bugs mailing list