From: Tilghman Lesher Date: Thu, 6 May 2010 15:39:10 +0000 (+0000) Subject: Permit more lines within a SIP body to be parsed. X-Git-Tag: 11.0.0-beta1~3068 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba9b0d95e62dd6698809d7510df379ee8a571420;p=thirdparty%2Fasterisk.git Permit more lines within a SIP body to be parsed. The example given within the related issue showed 120 lines, which was mostly a result of the body being XML. (closes issue #17179) Reported by: khw git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@261560 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index ddc4bb9c1b..2ee19b6d72 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -93,7 +93,7 @@ #define MAX_AUTHTRIES 3 /*!< Try authentication three times, then fail */ #define SIP_MAX_HEADERS 64 /*!< Max amount of SIP headers to read */ -#define SIP_MAX_LINES 64 /*!< Max amount of lines in SIP attachment (like SDP) */ +#define SIP_MAX_LINES 256 /*!< Max amount of lines in SIP attachment (like SDP) */ #define SIP_MIN_PACKET 4096 /*!< Initialize size of memory to allocate for packets */ #define MAX_HISTORY_ENTRIES 50 /*!< Max entires in the history list for a sip_pvt */