Summary: | ASTERISK-26118: res_srtp: ASAN: heap-use-after-free in ast_srtp_protect | ||
Reporter: | Badalian Vyacheslav (slavon) | Labels: | |
Date Opened: | 2016-06-16 14:39:07 | Date Closed: | 2016-10-30 13:40:55 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_srtp |
Versions: | 13.9.1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | {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} | ||
Comments: | By: Asterisk Team (asteriskteam) 2016-06-16 14:39:07.662-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. |