Merged revisions 245792 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Tue, 9 Feb 2010 23:07:17 +0000 (23:07 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 9 Feb 2010 23:07:17 +0000 (23:07 +0000)
commit5be3d14c1156945681bf08268aee09566b2cbf74
treebab9b3a7c41c5dc7cd0bf84226d6abf27e79c2f0
parent2d6f0c4607ab6ed6dd3315fce8bbe18ceb13046a
Merged revisions 245792 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r245792 | dvossel | 2010-02-09 16:55:38 -0600 (Tue, 09 Feb 2010) | 12 lines

  Fixes iaxs and iaxsl size off by one issue.

  2^15 = 32768 which is the maximum allowed iax2 callnumber.
  Creating the iaxs and iaxsl array of size 32768 means the maximum
  callnumber is actually out of bounds.  This causes a nasty crash.

  (closes issue #15997)
  Reported by: exarv
  Patches:
        iax_fix.diff uploaded by dvossel (license 671)
........

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