]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: bigger buffers for headers, better failure mode 35/3035/1
authorVasil Kolev <vasil.kolev@securax.org>
Tue, 31 May 2016 14:10:29 +0000 (17:10 +0300)
committerCorey Farrell <git@cfware.com>
Thu, 16 Jun 2016 19:47:29 +0000 (14:47 -0500)
commit673fa4431e2c5d056ba0d76d05748af10fdbd5f9
tree09f6f1e6bfedacc3db9c4317d783058aa2e5fd69
parent29354cb53dc60960caf067aa6f38dcd78d04c58f
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