9
0
Fork 0

Fix a panic in crypto hash calculations due to uninitialized variable.

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Krzysztof Halasa 2012-06-07 15:04:07 +02:00 committed by Sascha Hauer
parent 76049e05fa
commit edfe50ce40
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ int digest_file_window(struct digest *d, char *filename,
ulong len = 0;
int fd, now, ret = 0;
unsigned char *buf;
int flags;
int flags = 0;
d->init(d);