]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 219139 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Thu, 17 Sep 2009 15:44:14 +0000 (15:44 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Thu, 17 Sep 2009 15:44:14 +0000 (15:44 +0000)
commit44cc22ffbe70904c46e98bd81ae57dea37fb3a5c
tree931e47a077dc7d27b90d69fc73ad2645639474da
parent563af8b47b68fe146c5be75d9444ea09bcc85334
Merged revisions 219139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219139 | mnicholson | 2009-09-17 10:18:01 -0500 (Thu, 17 Sep 2009) | 17 lines

  Merged revisions 219136 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r219136 | mnicholson | 2009-09-17 09:58:39 -0500 (Thu, 17 Sep 2009) | 10 lines

    Prevent a potential race condition and crash when hanging up a channel by removing the channel from the channel list before begining channel tear down.

    This fix may potentially cause problems with CDR backends that access the channel a CDR is associated with via the channel list.  This fix makes the channel unavabile at the time when the CDR backend is invoked.  This has been documented in include/asterisk/cdr.h.

    (closes issue #15316)
    Reported by: vmarrone
    Tested by: mnicholson

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@219198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/cdr.h
include/asterisk/channel.h
main/channel.c