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

27 May
2014
27 May
'14
9:21 p.m.
On 26 May 2014 06:27, Michael van der Westhuizen michael.vanderwesthuizen@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@smart-africa.com
Acked-by: Simon Glass sjg@chromium.org
3999
Age (days ago)
3999
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Glass