From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 27 Nov 2015 11:31:18 +0100 Subject: [U-Boot] [PATCH v1 2/2] kwbimage: fix size computations for v1 images In-Reply-To: <1448613827-2349-3-git-send-email-reinhard.pfau@gdsys.cc> References: <1448613827-2349-1-git-send-email-reinhard.pfau@gdsys.cc> <1448613827-2349-3-git-send-email-reinhard.pfau@gdsys.cc> Message-ID: <565830F6.1070203@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Luka Perkov Reviewed-by: Stefan Roese Thanks, Stefan