nissy-classic

Stable branch of nissy
git clone https://git.tronto.net/nissy-classic
Download | Log | Files | Refs | README | LICENSE

commit 4aa911f0dcc0f3e4c159d92598d42bb16e29e02e
parent 8cf0d9d94b91d036d44fa02ebe5f6acea594a6d8
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Wed, 10 May 2023 07:24:38 +0200

Fix possible free of uninitialized pointer

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

diff --git a/src/shell.c b/src/shell.c @@ -64,7 +64,7 @@ exec_args(int c, char **v) if (cmd == NULL) { fprintf(stderr, "%s: command not found\n", v[0]); - goto exec_args_end; + return; } args = cmd->parse_args(c-1, &v[1]);