Merged revisions 135597 via svnmerge from
[asterisk/asterisk.git] / main / cli.c
index af8b923..377e1f0 100644 (file)
@@ -122,7 +122,7 @@ static AST_RWLIST_HEAD_STATIC(helpers, ast_cli_entry);
 static char *complete_fn(const char *word, int state)
 {
        char *c, *d;
-       char filename[256];
+       char filename[PATH_MAX];
 
        if (word[0] == '/')
                ast_copy_string(filename, word, sizeof(filename));