nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9a124ae93567429b95378456864adf54fe71d490
parent 145ca91df24d63d18802b379398d203ff795fa29
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 12 Jun 2021 19:40:43 +0530

Initialize local array to NULL

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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) {