[asterisk-bugs] [JIRA] (ASTERISK-29772) ${CHANNEL(ruri)} in Dial/Queue b(test, s, 1) cause a coredump

Mark Petersen (JIRA) noreply at issues.asterisk.org
Tue Nov 23 04:07:49 CST 2021


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

Mark Petersen updated ASTERISK-29772:
-------------------------------------

    Description: 
if you try to access CHANNEL(ruri) Before initiating an outgoing call asterisk will core dump

[default]
exten => _X!,1,Dial(SIP/XXX,,b(test,s,1)
[test]
exten => s,1,NoOp(CRASH ME)
same => n,NoOp(CHANNEL(channeltype)=${CHANNEL(channeltype)})
same => n,NoOp(CHANNEL(from)=${CHANNEL(from)})
same => n,NoOp(CHANNEL(peername)=${CHANNEL(peername)})
same => n,NoOp(CHANNEL(ruri)=${CHANNEL(ruri)})  ; WARNING THIS WILL CRASH ASTERISK


  was:
if you try to access CHANNEL(ruri) Before initiating an outgoing call asterisk will core dump


Dial(SIP/XXX,,b(test,s,1)
[test]
NoOp(CHANNEL(channeltype)=${CHANNEL(channeltype)})
NoOp(CHANNEL(from)=${CHANNEL(from)})
NoOp(CHANNEL(peername)=${CHANNEL(peername)})
NoOp(CHANNEL(ruri)=${CHANNEL(ruri)})  ; WARNING THIS WILL CRASH ASTERISK



> ${CHANNEL(ruri)} in Dial/Queue b(test,s,1) cause a coredump
> -----------------------------------------------------------
>
>                 Key: ASTERISK-29772
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29772
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 18.8.0
>            Reporter: Mark Petersen
>            Severity: Critical
>         Attachments: core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-brief.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-full.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-info.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-locks.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-thread1.txt
>
>
> if you try to access CHANNEL(ruri) Before initiating an outgoing call asterisk will core dump
> [default]
> exten => _X!,1,Dial(SIP/XXX,,b(test,s,1)
> [test]
> exten => s,1,NoOp(CRASH ME)
> same => n,NoOp(CHANNEL(channeltype)=${CHANNEL(channeltype)})
> same => n,NoOp(CHANNEL(from)=${CHANNEL(from)})
> same => n,NoOp(CHANNEL(peername)=${CHANNEL(peername)})
> same => n,NoOp(CHANNEL(ruri)=${CHANNEL(ruri)})  ; WARNING THIS WILL CRASH ASTERISK



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



More information about the asterisk-bugs mailing list