From: Krzysztof Halasa <khc@pm.waw.pl>
To: barebox@lists.infradead.org
Subject: [PATCH] Fix a panic in crypto hash calculations due to uninitialized variable.
Date: Thu, 07 Jun 2012 15:04:07 +0200 [thread overview]
Message-ID: <m3aa0fl1dk.fsf@intrepid.localdomain> (raw)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
diff --git a/common/digest.c b/common/digest.c
index a327395..c2c431c 100644
--- a/common/digest.c
+++ b/common/digest.c
@@ -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);
--
Krzysztof Halasa
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
reply other threads:[~2012-06-07 13:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3aa0fl1dk.fsf@intrepid.localdomain \
--to=khc@pm.waw.pl \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox