1.1 --- a/asterisk/asterisk.patch Tue Mar 22 20:35:17 2011 +0100 1.2 +++ b/asterisk/asterisk.patch Tue Mar 22 21:30:06 2011 +0100 1.3 @@ -1326,8 +1326,8 @@ 1.4 - return -1; 1.5 + of Acct-Unique-Session-Id on server side Channel */ 1.6 + { 1.7 -+ char szChanuser[NAME_MAX] = {0}; 1.8 -+ strncpy(szChanuser, &cdr->channel, NAME_MAX-1); 1.9 ++ char szChanuser[PATH_MAX] = {0}; 1.10 ++ strncpy(szChanuser, &cdr->channel, PATH_MAX-1); 1.11 + *(strrchr(szChanuser, '-')) = 0; 1.12 + if (!rc_avpair_add(rh, tosend, PW_USER_NAME, szChanuser, strlen(cdr->channel), 0)) 1.13 + return -1;