[asterisk-bugs] [JIRA] (ASTERISK-25254) Crash if dialplan sets ATTENDEDTRANSFER to an empty string before Park.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:22:06 CDT 2016


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

Asterisk Team updated ASTERISK-25254:
-------------------------------------

    Target Release Version/s: 14.0.0

> Crash if dialplan sets ATTENDEDTRANSFER to an empty string before Park.
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-25254
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25254
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_parking
>    Affects Versions: 13.4.0
>            Reporter: Richard Mudgett
>            Assignee: Richard Mudgett
>      Target Release: 13.5.0, 14.0.0
>
>
> Asterisk crashes If you call the following dialplan exten:
> {noformat}
> exten = 100,1,NoOp()
> same = n,Set(ATTENDEDTRANSFER=)
> ;same = n,Set(BLINDTRANSFER=)
> same = n,Park()
> same = n,Hangup()
> {noformat}
> Backtrace
> {noformat}
> #1  0x012044e0 in setup_park_common_datastore (parkee=0xb738d6b4, parker_uuid=0xb738d758 "1436906324.126",
>     comeback_override=0xb7322568 "park-ringback,101,1", randomize=0, time_limit=90, silence_announce=0)
>     at parking/parking_applications.c:353
> 353			parker_dial_string = ast_strdupa(S_OR(attended_transfer, blind_transfer));
> (gdb) p attended_transfer
> $1 = 0xb7394b21 ""
> (gdb) p blind_transfer
> $2 = 0x0
> (gdb)
> {noformat}
> However, if you uncomment the BLINDTRANSFER line then it won't crash.



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



More information about the asterisk-bugs mailing list