path: root/channels
diff options
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-13 16:53:44 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-13 16:53:44 +0000
commitcb34928104d56aa8dac446b903b3d72c4ebda61d (patch)
tree16b57f432e4a95d12bfe96d9d333cdcec2c20ec1 /channels
parent0c42c8990ef3ce306f6dc82f0310c8fd46f30497 (diff)
Merged revisions 275994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r275994 | russell | 2010-07-13 11:51:18 -0500 (Tue, 13 Jul 2010) | 14 lines Access peer->cdr directly instead of through a saved off reference. At this point in the code, it is possible that peer_cdr may be invalid. Specifically, in the blind transfer code, CDRs are swapped between channels. So, peer_cdr is no longer == peer->cdr. The scenario that exposed a crash in this code was a blind transfer that hit the system call limit, causing the transferee channel to get destroyed after the transfer attempt failed. Even if it succeeds and this code doesn't crash, this code was still trying to reset a CDR on a channel that was now owned by a different thread, which is a BadThing(tm). (ABE-2417) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275995 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions