]> git.ipfire.org Git - thirdparty/asterisk.git/commit
fixes crash in "scheduled_destroy" in chan_iax
authorDavid Vossel <dvossel@digium.com>
Thu, 7 Jan 2010 20:14:25 +0000 (20:14 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 7 Jan 2010 20:14:25 +0000 (20:14 +0000)
commitfed58bd1d611560fcf27a770ed958f7ad45b11b8
tree2c0fdce55c7ed77ab4289aaf9813aa9cb13a9d7d
parenta6bc57fe40c9cae162b2ce7957b60a0378e37fe9
fixes crash in "scheduled_destroy" in chan_iax

A signed short was used to represent a callnumber.  This is makes
it possible to attempt to access the iaxs array with a negative
index.

(closes issue #16565)
Reported by: jensvb

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