[asterisk-commits] tilghman: branch 1.6.0 r168335 - in /branches/1.6.0: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 9 19:43:51 CST 2009
Author: tilghman
Date: Fri Jan 9 19:43:51 2009
New Revision: 168335
URL: http://svn.digium.com/view/asterisk?view=rev&rev=168335
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.0/ (props changed)
branches/1.6.0/channels/chan_sip.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=168335&r1=168334&r2=168335
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Fri Jan 9 19:43:51 2009
@@ -20570,7 +20570,7 @@
char callback[256] = "";
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