Index: apps/app_zapbarge.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_zapbarge.c,v retrieving revision 1.6 diff -u -p -r1.6 app_zapbarge.c --- apps/app_zapbarge.c 22 Jun 2004 19:32:52 -0000 1.6 +++ apps/app_zapbarge.c 13 Jul 2004 22:20:18 -0000 @@ -249,7 +249,7 @@ static int conf_exec(struct ast_channel int retrycnt = 0; int confflags = 0; int confno = 0; - char confstr[80]; + char confstr[80] = ""; if (data && !ast_strlen_zero(data)) { if ((sscanf(data, "Zap/%d", &confno) != 1) && @@ -264,7 +264,7 @@ static int conf_exec(struct ast_channel while(!confno && (++retrycnt < 4)) { /* Prompt user for conference number */ - strcpy(confstr, ""); + confstr[0] = '\0'; res = ast_app_getdata(chan, "conf-getchannel",confstr, sizeof(confstr) - 1, 0); if (res <0) goto out; if (sscanf(confstr, "%d", &confno) != 1)