[U-Boot] [PATCH v2] Prevent a buffer overflow in mkimage when signing with SHA256

Simon Glass sjg at chromium.org
Tue May 27 21:21:16 CEST 2014


On 26 May 2014 06:27, Michael van der Westhuizen
<michael.vanderwesthuizen at smart-africa.com> wrote:
> Due to the FIT_MAX_HASH_LEN constant not having been updated
> to support SHA256 signatures one will always see a buffer
> overflow in fit_image_process_hash when signing images that
> use this larger hash.  This is exposed by vboot_test.sh.
>
> Signed-off-by: Michael van der Westhuizen <michael at smart-africa.com>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list