From: sECuRE Date: Sat, 29 Nov 2008 13:44:31 +0000 (+0000) Subject: Initialize memory X-Git-Tag: rgb2rv6~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7851583e00343a6f50e751ddb3bab3247cc6b202;p=c128-kasse Initialize memory git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@86 af93e077-1a23-4f1e-9cbe-9382a9d578f5 --- 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");