]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prevent a crash when dialing a technology with no destination (ex: Dial(SIP/))
authorJason Parker <jparker@digium.com>
Mon, 31 Jan 2011 22:56:54 +0000 (22:56 +0000)
committerJason Parker <jparker@digium.com>
Mon, 31 Jan 2011 22:56:54 +0000 (22:56 +0000)
commite03c6ed738a68aaecbead0606130826bdbb32d22
tree4f9fd9771cd0302fd444bf3890737509779a6001
parent23a1e7bb49c4228b4675467d36f49170270b6ec7
Prevent a crash when dialing a technology with no destination (ex: Dial(SIP/))

chan_iax2 and other channel drivers already had code to prevent this.  The
attempt that app_dial was making to prevent it was not correct, so I fixed that.

(closes issue #18371)
Reported by: gbour
Patches:
      18371.patch uploaded by gbour (license 1162)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@305252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
channels/chan_sip.c