summaryrefslogtreecommitdiff
path: root/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
diff options
context:
space:
mode:
authorKonrad Beckmann <konrad.beckmann@gmail.com>2018-11-07 14:51:45 -0500
committerTom Rini <trini@konsulko.com>2018-11-16 16:52:01 -0500
commitf1c85688ab13f154ebe1b1480def233a22e7f66b (patch)
treec442e39843d945fb0df01ce2af6e431fc718a402 /arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
parentad5fbc6e8858d0f57a0712f7dba2c710aed9a43c (diff)
image-sig: Ensure that hashed-nodes is null-terminated
A specially crafted FIT image leads to memory corruption in the stack when using the verified boot feature. The function fit_config_check_sig has a logic error that makes it possible to write past the end of the stack allocated array node_inc. This could potentially be used to bypass the signature check when using verified boot. This change ensures that the number of strings is correct when counted. Signed-off-by: Konrad Beckmann <konrad.beckmann@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi')
0 files changed, 0 insertions, 0 deletions