[PATCH] ecdsa: fix segfault in mkimage when "-r" option is not set

Tom Rini trini at konsulko.com
Tue Jul 15 01:12:06 CEST 2025


On Mon, 07 Jul 2025 17:55:50 +0200, Lucas Dietrich wrote:

> Fix a segmentation fault in the ECDSA signing logic of `mkimage`
> that occurs when the "-r" option is not specified.
> 
> This reproduces the logic in `lib/rsa/rsa-sign.c` by checking if
> `info->require_keys` is non-null before passing it to
> `fdt_setprop_string()`.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] ecdsa: fix segfault in mkimage when "-r" option is not set
      commit: 6a269b7fdefe3edc60a6218f1402f17206644628
-- 
Tom




More information about the U-Boot mailing list