Index: apps/app_cut.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_cut.c,v retrieving revision 1.5 diff -u -p -r1.5 app_cut.c --- apps/app_cut.c 12 Apr 2004 16:08:20 -0000 1.5 +++ apps/app_cut.c 13 Jul 2004 20:04:12 -0000 @@ -101,7 +101,7 @@ static int cut_exec(struct ast_channel * d = '-'; /* String form of the delimiter, for use with strsep(3) */ - sprintf(ds,"%c",d); + snprintf(ds, sizeof(ds), "%c", d); pbx_substitute_variables_helper(chan, tmp, tmp2, MAXRESULT - 1);