Merged revisions 74767 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 11 Jul 2007 23:05:34 +0000 (23:05 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 11 Jul 2007 23:05:34 +0000 (23:05 +0000)
commit08b1a342e54c477f924b52285a689bfe4781a6cd
tree6cc093e4f5f41f40c5f31cd395ca04704f9a2a3f
parent66449656d3407e85d0eaecf4715865f3f6f50b1e
Merged revisions 74767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r74767 | russell | 2007-07-11 17:57:07 -0500 (Wed, 11 Jul 2007) | 13 lines

Merged revisions 74766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74766 | russell | 2007-07-11 17:53:26 -0500 (Wed, 11 Jul 2007) | 5 lines

The function make_trunk() can fail and return -1 instead of a valid new call
number.  Fix the uses of this function to handle this instead of treating it
as the new call number.  This would cause a deadlock and memory corruption.
(possible cause of issue #9614 and others, patch by me)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c