]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: bigger buffers for headers, better failure mode 34/3034/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:08 +0000 (14:47 -0500)
commit89cc86fc383664f91cfd0d4463c1d9de3131f794
treea2b93850a5bc679a4f8a0e542165f0b52a05aef3
parent03953d80346b3561305606f8509ab3ea2fa962a1
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