Fix cli matchstr initialization (bug #4958)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-08-14 01:48:14 +00:00
parent 8b7e1054fe
commit 436353205a

2
cli.c
View File

@@ -1251,7 +1251,7 @@ static char *__ast_cli_generator(char *text, char *word, int state, int lock)
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])))) {