[asterisk-bugs] [JIRA] (ASTERISK-26208) pjproject: Use after free when sending packet

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Jul 18 10:34:57 CDT 2016


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

Joshua Colp updated ASTERISK-26208:
-----------------------------------

    Summary: pjproject: Use after free when sending packet  (was: ASAN: use after free on ICE)

> pjproject: Use after free when sending packet
> ---------------------------------------------
>
>                 Key: ASTERISK-26208
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26208
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.9.1
>            Reporter: Badalian Vyacheslav
>
> {code}
> ==25874==ERROR: AddressSanitizer: heap-use-after-free on address 0x6170018a3404 at pc 0x7fc299b098dd bp 0x7fc27ec1cb20 sp 0x7fc27ec1cb10
> READ of size 4 at 0x6170018a3404 thread T65
>     #0 0x7fc299b098dc in ast_rtp_on_ice_tx_pkt /root/asterisk-13.9.1/res/res_rtp_asterisk.c:1777
>     #1 0x7fc2b062154e in on_stun_send_msg (/lib/libpjnath.so.2+0x854e)
>     #2 0x7fc2b062d382 in pj_stun_session_send_msg (/lib/libpjnath.so.2+0x14382)
>     #3 0x7fc2b062120b in ice_keep_alive (/lib/libpjnath.so.2+0x820b)
>     #4 0x7fc2b0621f95 in on_timer (/lib/libpjnath.so.2+0x8f95)
>     #5 0x7fc2af3fe4be in pj_timer_heap_poll (/lib/libpj.so.2+0x1e4be)
>     #6 0x7fc299b09025 in timer_worker_thread /root/asterisk-13.9.1/res/res_rtp_asterisk.c:1817
>     #7 0x7fc2af3ef0d5 in thread_main (/lib/libpj.so.2+0xf0d5)
>     #8 0x7fc2b755edc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
>     #9 0x7fc2b683e28c 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