[asterisk-bugs] [JIRA] (ASTERISK-25874) app_voicemail: Stack buffer overflow in test_voicemail_notify_endl
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Apr 25 16:49:00 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-25874:
-----------------------------------
Target Release Version/s: 13.9.0
> app_voicemail: Stack buffer overflow in test_voicemail_notify_endl
> ------------------------------------------------------------------
>
> Key: ASTERISK-25874
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25874
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_voicemail
> Affects Versions: 13.8.0
> Reporter: Badalian Vyacheslav
> Assignee: Joshua Colp
> Severity: Minor
> Target Release: 13.9.0
>
>
> From last 13 branch
> {code}
> *CLI> test execute all
> Running all available tests...
> START /apps/app_gosub/ - gosub application
> -- Registered extension context 'tests_test_gosub_virtual_context'; registrar: test_gosub
> -- Added extension 's' priority 1 to tests_test_gosub_virtual_context
> [Mar 30 04:21:28] ERROR[13395]: app_stack.c:594 gosub_exec: Attempt to reach a non-existent destination for Gosub: (Context:test, Extension:dne, Priority:1)
> END /apps/app_gosub/ - gosub application Time: 2ms Result: PASS
> START /apps/app_voicemail/ - test_voicemail_vm_info
> [Mar 30 04:21:28] ERROR[13395]: app_voicemail.c:12377 acf_vm_info: VM_INFO requires an argument (<mailbox>[@<context>],attribute[,folder])
> [Mar 30 04:21:28] ERROR[13395]: app_voicemail.c:12427 acf_vm_info: Unknown attribute 'badparam' for VM_INFO
> [Mar 30 04:21:28] ERROR[13395]: app_voicemail.c:12387 acf_vm_info: VM_INFO requires an argument (<mailbox>[@<context>],attribute[,folder])
> END /apps/app_voicemail/ - test_voicemail_vm_info Time: <1ms Result: PASS
> START /apps/app_voicemail/ - test_voicemail_load_config
> == Parsing '/tmp/voicemail.conf.m5OVDd': Found
> END /apps/app_voicemail/ - test_voicemail_load_config Time: 6ms Result: PASS
> START /apps/app_voicemail/ - test_voicemail_notify_endl
> =================================================================
> ==13395==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffe222a7e8f at pc 0x7f3d5a21147c bp 0x7ffe222a78e0 sp 0x7ffe222a78d8
> READ of size 1 at 0x7ffe222a7e8f thread T0
> #0 0x7f3d5a21147b in test_voicemail_notify_endl /usr/src/asterisk/apps/app_voicemail.c:14454
> #1 0x7cf627 in test_execute /usr/src/asterisk/main/test.c:253
> #2 0x7d01a9 in test_execute_multiple /usr/src/asterisk/main/test.c:371
> #3 0x7d2e5d in test_cli_execute_registered /usr/src/asterisk/main/test.c:833
> #4 0x5a2fed in ast_cli_command_full /usr/src/asterisk/main/cli.c:2757
> #5 0x4876c4 in consolehandler /usr/src/asterisk/main/asterisk.c:2328
> #6 0x493c99 in asterisk_daemon /usr/src/asterisk/main/asterisk.c:4792
> #7 0x4926cc in main /usr/src/asterisk/main/asterisk.c:4289
> #8 0x7f3d96a7fb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
> #9 0x432d43 (/usr/sbin/asterisk+0x432d43)
> ==13395==AddressSanitizer CHECK failed: /usr/src/gcc/libsanitizer/asan/asan_report.cc:263 "((res)) != (0)" (0x0, 0x0)
> #0 0x7f3d996d3984 (/usr/local/lib64/libasan.so.2+0x9b984)
> #1 0x7f3d996d83e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/local/lib64/libasan.so.2+0xa03e3)
> #2 0x7f3d996cfa1c (/usr/local/lib64/libasan.so.2+0x97a1c)
> #3 0x7f3d996cfe85 (/usr/local/lib64/libasan.so.2+0x97e85)
> #4 0x7f3d99660830 (/usr/local/lib64/libasan.so.2+0x28830)
> #5 0x7f3d996d1180 (/usr/local/lib64/libasan.so.2+0x99180)
> #6 0x7f3d996d29d2 in __asan_report_error (/usr/local/lib64/libasan.so.2+0x9a9d2)
> #7 0x7f3d996d3e33 in __asan_report_load1 (/usr/local/lib64/libasan.so.2+0x9be33)
> #8 0x7f3d5a21147b in test_voicemail_notify_endl /usr/src/asterisk/apps/app_voicemail.c:14454
> #9 0x7cf627 in test_execute /usr/src/asterisk/main/test.c:253
> #10 0x7d01a9 in test_execute_multiple /usr/src/asterisk/main/test.c:371
> #11 0x7d2e5d in test_cli_execute_registered /usr/src/asterisk/main/test.c:833
> #12 0x5a2fed in ast_cli_command_full /usr/src/asterisk/main/cli.c:2757
> #13 0x4876c4 in consolehandler /usr/src/asterisk/main/asterisk.c:2328
> #14 0x493c99 in asterisk_daemon /usr/src/asterisk/main/asterisk.c:4792
> #15 0x4926cc in main /usr/src/asterisk/main/asterisk.c:4289
> #16 0x7f3d96a7fb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
> #17 0x432d43 (/usr/sbin/asterisk+0x432d43)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list