]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: bigger buffers for headers, better failure mode 23/2923/5
authorVasil Kolev <vasil.kolev@securax.org>
Tue, 31 May 2016 14:10:29 +0000 (17:10 +0300)
committerVasil Kolev <vasil.kolev@securax.org>
Tue, 7 Jun 2016 12:10:13 +0000 (15:10 +0300)
commit80ff7912a18619f9549d2090be2cf4c9dbeea356
tree4bab4fbb4235b8dcd5e3b5b1c7138540b759eb3d
parent853350b5ea17bcc6bd19ca8ef43f7e477da752fc
chan_sip: bigger buffers for headers, better failure mode

Currently chan_sip can give weird messages if the contacts don't
fit in the From: or To: headers. This fix changes the from,to and
invite variables to use ast_str, allocates and deallocates them and
resizes them if needed.

ASTERISK-26069 #close

Change-Id: I1b68fcbddca6f6cc7d7a92fe1cb0d5430282b2b3
channels/chan_sip.c