[Asterisk-cvs] asterisk/channels chan_sip.c,1.825,1.826

kpfleming kpfleming
Mon Aug 29 21:02:59 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv15092/channels

Modified Files:
	chan_sip.c 
Log Message:
fix error I introduced into oej's patch :-(


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.825
retrieving revision 1.826
diff -u -d -r1.825 -r1.826
--- chan_sip.c	29 Aug 2005 23:53:29 -0000	1.825
+++ chan_sip.c	30 Aug 2005 01:04:17 -0000	1.826
@@ -5642,7 +5642,7 @@
 			}
 			thishop = malloc(sizeof(*thishop) + len);
 			if (thishop) {
-				strcpy(thishop->hop, c);
+				ast_copy_string(thishop->hop, c, len);
 				thishop->next = NULL;
 				/* Goes at the end */
 				if (tail)




More information about the svn-commits mailing list