Skip to content
Snippets Groups Projects
Commit 43635320 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix cli matchstr initialization (bug #4958)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 8b7e1054
No related branches found
No related tags found
No related merge requests found
......@@ -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])))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment