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

View file

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