]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: fix possible buffer overflow
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Wed, 14 Apr 2021 02:55:49 +0000 (11:55 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 17 Apr 2021 18:01:32 +0000 (20:01 +0200)
commit4854e560b1459b78c1f8746c2840cec9caf863ff
tree02db639be3785a1edd0bc552783a66fe88101c6c
parentdadf5ee41164a1a2618ac24fd66e19d080734a1a
efi_loader: fix possible buffer overflow

Variable "final" will have SHA512 digest, but currently
the array size is not sufficient. Let's fix it.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_tcg2.c