[asterisk-commits] branch 1.2 r36838 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jul 3 08:00:51 MST 2006


Author: oej
Date: Mon Jul  3 10:00:50 2006
New Revision: 36838

URL: http://svn.digium.com/view/asterisk?rev=36838&view=rev
Log:
issue #7470 - Need larger buffer for record-route headers...

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=36838&r1=36837&r2=36838&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Mon Jul  3 10:00:50 2006
@@ -3936,7 +3936,7 @@
 /*! \brief  add_route: Add route header into request per learned route ---*/
 static void add_route(struct sip_request *req, struct sip_route *route)
 {
-	char r[256], *p;
+	char r[BUFSIZ*2], *p;
 	int n, rem = sizeof(r);
 
 	if (!route) return;



More information about the asterisk-commits mailing list