[asterisk-bugs] [JIRA] (ASTERISK-29772) chan_sip: ${CHANNEL(ruri)} in Dial/Queue b(test, s, 1) cause a coredump
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Mon Dec 13 13:06:44 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257406#comment-257406 ]
Friendly Automation commented on ASTERISK-29772:
------------------------------------------------
Change 17666 merged by Friendly Automation:
chan_sip: Fix crash when accessing RURI before initiating outgoing call
[https://gerrit.asterisk.org/c/asterisk/+/17666|https://gerrit.asterisk.org/c/asterisk/+/17666]
> chan_sip: ${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: 16.22.0, 18.8.0
> Reporter: Mark Petersen
> Assignee: N A
> 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
> {noformat}
> [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 CHANNEL(ruri) WILL CRASH ASTERISK
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list