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.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168335
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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 */