From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 2/2] kwbimage: fix size computations for v1 images
Date: Fri, 27 Nov 2015 11:31:18 +0100 [thread overview]
Message-ID: <565830F6.1070203@denx.de> (raw)
In-Reply-To: <1448613827-2349-3-git-send-email-reinhard.pfau@gdsys.cc>
On 27.11.2015 09:43, Reinhard Pfau wrote:
> Fix computation of haeder size and binary header size.
> Size of opt header and some 32bit values were not taken into account. This could
> result in invalid boot images (due to the wrong binary header size, the image could
> claim to have another extension header after the binary extension although there
> is none).
>
> Use "uint32_t" instead of "unsigned int" for header size computation.
>
> Signed-off-by: Reinhard Pfau <reinhard.pfau@gdsys.cc>
> Cc: Luka Perkov <luka.perkov@sartura.hr>
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
prev parent reply other threads:[~2015-11-27 10:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 8:43 [U-Boot] [PATCH v1 0/2] This little series fixes some issues with kwbimage Reinhard Pfau
2015-11-27 8:43 ` [U-Boot] [PATCH v1 1/2] kwbimage: fix endianess issue Reinhard Pfau
2015-11-27 10:31 ` Stefan Roese
2015-11-27 8:43 ` [U-Boot] [PATCH v1 2/2] kwbimage: fix size computations for v1 images Reinhard Pfau
2015-11-27 10:31 ` Stefan Roese [this message]
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=565830F6.1070203@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.