[asterisk-commits] tilghman: branch 1.6.1 r168336 - in /branches/1.6.1: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 9 19:44:34 CST 2009


Author: tilghman
Date: Fri Jan  9 19:44:33 2009
New Revision: 168336

URL: http://svn.digium.com/view/asterisk?view=rev&rev=168336
Log:
Merged revisions 168334 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r168334 | tilghman | 2009-01-09 19:42:45 -0600 (Fri, 09 Jan 2009) | 2 lines
  
  sizeof for a stringfield is 4.  Kinda low for reconstructing a field value.
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_sip.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=168336&r1=168335&r2=168336
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Fri Jan  9 19:44:33 2009
@@ -21205,7 +21205,7 @@
 	struct sip_peer tmp_peer;
 	const char *srvlookup = NULL;
 	static int deprecation_warning = 1;
-	struct ast_str *fullcontact = ast_str_alloca(sizeof(peer->fullcontact));
+	struct ast_str *fullcontact = ast_str_alloca(512);
 	
 	if (!realtime || ast_test_flag(&global_flags[1], SIP_PAGE2_RTCACHEFRIENDS)) {
 		/* Note we do NOT use find_peer here, to avoid realtime recursion */




More information about the asterisk-commits mailing list