mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
2
cli.c
2
cli.c
@@ -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])))) {
|
||||
|
Reference in New Issue
Block a user