From: Olle Johansson Date: Wed, 3 May 2006 12:46:29 +0000 (+0000) Subject: Issue #7074 - Problem with long contact lines X-Git-Tag: 1.4.0-beta1~1607 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c60f78ea16bdde1268ae79fb2707da926fd4b11;p=thirdparty%2Fasterisk.git Issue #7074 - Problem with long contact lines git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24382 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a84cbe2189..2d7c6cd0d2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6170,8 +6170,8 @@ enum parse_register_result { /*! \brief Parse contact header and save registration */ static enum parse_register_result parse_register_contact(struct sip_pvt *pvt, struct sip_peer *p, struct sip_request *req) { - char contact[80]; - char data[256]; + char contact[BUFSIZ]; + char data[BUFSIZ]; char iabuf[INET_ADDRSTRLEN]; const char *expires = get_header(req, "Expires"); int expiry = atoi(expires);