Merged revisions 320796 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Wed, 25 May 2011 16:50:38 +0000 (16:50 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 25 May 2011 16:50:38 +0000 (16:50 +0000)
commita42bf8cc9250f875f6d26ca7cd2d81e2ea8821d8
tree03a00e37f9e8b6a9e09158cd4c9ed5ce1ab3bb9d
parente789eb8b2d6d3371ef8d82ac61451a52f0768073
Merged revisions 320796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r320796 | rmudgett | 2011-05-25 11:23:11 -0500 (Wed, 25 May 2011) | 17 lines

  Give zombies a safe channel driver to use.

  Recent crashes from zombie channels suggests that they need a safe home to
  goto.  When a masquerade happens, the physical part of the zombie channel
  is hungup.  The hangup normally sets the channel private pointer to NULL.
  If someone then blindly does a callback to the channel driver, a crash is
  likely because the private pointer is NULL.

  The masquerade now sets the channel technology of zombie channels to the
  kill channel driver.

  Related to the following issues:
  (issue #19116)
  (issue #19310)

  Review: https://reviewboard.asterisk.org/r/1224/
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@320820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/channel.h
main/channel.c
main/features.c
main/format_cap.c