[asterisk-bugs] [JIRA] (ASTERISK-23104) Specifying the SetVar AMI without a Channel cause Asterisk to crash

Joel Vandal (JIRA) noreply at issues.asterisk.org
Mon Jan 6 14:49:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213626#comment-213626 ] 

Joel Vandal commented on ASTERISK-23104:
----------------------------------------

Strang that all value are always optimized ... but here some info I got from core dump.

#0  0x080aeef0 in ast_channel_get_cc_config_params ()
(gdb) bt
#0  0x080aeef0 in ast_channel_get_cc_config_params ()
#1  0x00b5adb3 in func_inheritance_write (chan=0x0,
    function=0xb63fe750 "AUDIOHOOK_INHERIT", data=0x0, value=0x9fdc3f7 "yes")
    at func_audiohookinherit.c:235
#2  0x08152640 in ast_func_read2 ()
#3  0x08154067 in pbx_builtin_setvar_helper ()
#4  0x08134f80 in action_getvar ()
#5  0x0812fef2 in process_message ()
#6  0x0813d9da in session_do ()
#7  0x081959e9 in __ssl_setup ()
#8  0x081a42da in ast_careful_fwrite ()
#9  0x00880912 in start_thread () from /lib/libpthread.so.0
#10 0x007aa60e in ioperm () from /lib/libc.so.6
#11 0x00000000 in ?? ()

(gdb) bt full
#0  0x080aeef0 in ast_channel_get_cc_config_params ()
No symbol table info available.
#1  0x00b5adb3 in func_inheritance_write (chan=0x0,
    function=0xb63fe750 "AUDIOHOOK_INHERIT", data=0x0, value=0x9fdc3f7 "yes")
    at func_audiohookinherit.c:235
        allow = -1
        datastore = <value optimized out>
        inheritance_datastore = <value optimized out>
        inheritable_audiohook = <value optimized out>
        __PRETTY_FUNCTION__ = "func_inheritance_write"

                
> Specifying the SetVar AMI without a Channel cause Asterisk to crash
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-23104
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23104
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.6.1
>         Environment: CentOS 5
>            Reporter: Joel Vandal
>            Severity: Critical
>
> From the Asterisk Manager Interface (AMI), when doing a SetVar and the channel is empty, this crash the Asterisk system.
> Step to reproduce :
> 1- connect to the AMI
> telnet localhost 5038
> 2- login to the AMI 
> Action: Login
> UserName: username
> Secret: secret
> 3- Send the SetVar with empty channel
> Action: SetVar
> Channel:
> Variable: AUDIOHOOK_INHERIT(MixMonitor)
> Value: yes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list