[Asterisk-cvs] asterisk cli.c,1.94,1.95

markster markster
Sat Aug 13 21:45:10 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv11221

Modified Files:
	cli.c 
Log Message:
Fix cli matchstr initialization (bug #4958)


Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- cli.c	12 Aug 2005 18:29:41 -0000	1.94
+++ cli.c	14 Aug 2005 01:48:14 -0000	1.95
@@ -1251,7 +1251,7 @@
 	char *dup, *res;
 	char fullcmd1[80] = "";
 	char fullcmd2[80] = "";
-	char matchstr[80];
+	char matchstr[80] = "";
 	char *fullcmd = NULL;
 
 	if ((dup = parse_args(text, &x, argv, sizeof(argv) / sizeof(argv[0])))) {




More information about the svn-commits mailing list