Fix a crash occurring as a result of excess stack usage.
authorJoshua Colp <jcolp@digium.com>
Wed, 18 Jul 2012 11:38:05 +0000 (11:38 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 18 Jul 2012 11:38:05 +0000 (11:38 +0000)
commitcbdb2dbb0e25f7ab23379b02467b055e263d345b
tree7056d4775f233cb0bebf533b5c4bafe2b2010e23
parent9278b5e51efe8a4083e1ff32052cb383e6a171ca
Fix a crash occurring as a result of excess stack usage.

This fix involves moving the allocation of some temporary codec structures to the heap and also reduces the number of maximum payloads to something more sane for both regular and low memory builds.

(closes issue ASTERISK-20140)
Reported by: jonnt

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
include/asterisk/rtp_engine.h