Initialize local array to NULL

This commit is contained in:
Arun Prakash Jana 2021-06-12 19:40:43 +05:30
parent 145ca91df2
commit 9a124ae935
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -4039,7 +4039,7 @@ static char *get_output(char *buf, const size_t bytes, char *file, char *arg1, c
FILE *pf;
int index = 0, flags;
char *ret = NULL;
char *argv[EXEC_ARGS_MAX];
char *argv[EXEC_ARGS_MAX] = {0};
char *cmd = NULL;
if (page) {