]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial may double free a channel datastore
authorMark Murawki <markm@intellasoft.net>
Mon, 18 Jul 2011 20:47:04 +0000 (20:47 +0000)
committerMark Murawki <markm@intellasoft.net>
Mon, 18 Jul 2011 20:47:04 +0000 (20:47 +0000)
commitf5ec4864bd9b1c65e5a57fa0209af2061deac1e3
treece310dedd5f54de0df89f55edae2b8658f9fa983
parent58a56845a642e5436fe82dde241ccda51cd728c0
app_dial may double free a channel datastore

When starting a call with originate, and having the callee channel run Bridge() on pickup, we will double free the dialed_interface_info datastore, causing a crash.  Make sure to check if the datastore still exists before trying to free it.

(closes issue ASTERISK-17917)
Reported by: Mark Murawski
Tested by: Mark Murawski

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