mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Merged revisions 135597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r135597 | seanbright | 2008-08-05 09:25:00 -0400 (Tue, 05 Aug 2008) | 1 line Use PATH_MAX for filenames ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user