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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Jul 15 17:56:33 CDT 2015


Richard Mudgett created ASTERISK-25254:
------------------------------------------

             Summary: 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: Core/General, Resources/res_parking
    Affects Versions: 13.4.0
            Reporter: Richard Mudgett


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