From 7851583e00343a6f50e751ddb3bab3247cc6b202 Mon Sep 17 00:00:00 2001 From: sECuRE Date: Sat, 29 Nov 2008 13:44:31 +0000 Subject: [PATCH] Initialize memory git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@86 af93e077-1a23-4f1e-9cbe-9382a9d578f5 --- src/kasse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kasse.c b/src/kasse.c index 54023e8..91b4a4a 100644 --- a/src/kasse.c +++ b/src/kasse.c @@ -238,7 +238,7 @@ void buy_custom() { BYTE c = 0, i = 0; int negative = 1; char entered[5] = {'1', 0, 0, 0, 0}; - char *input, name[10]; + char *input, name[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; int price; cprintf("\r\nWas soll gekauft werden?\r\n"); -- 2.39.5