From 8fb2349d12e21868c77f2c975dbd958eb2536499 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 Jan 2021 18:48:40 +0100 Subject: Several things Sorry :D --- apps/exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') diff --git a/apps/exec.c b/apps/exec.c index 726544d..e7cfcd8 100644 --- a/apps/exec.c +++ b/apps/exec.c @@ -30,6 +30,7 @@ void on_submit(struct gui_event_keyboard *event, struct element *elem) u8 l = strlen(PATH) + strlen(inp) + 1; char *final = malloc(l); + final[0] = '\0'; strcat(final, PATH); strcat(final, inp); -- cgit v1.2.3