[PATCH] spl: NULL check variable before dereference

Tom Rini trini at konsulko.com
Tue Jul 29 23:13:31 CEST 2025


On Fri, 18 Jul 2025 13:19:54 +0100, Andrew Goodbody wrote:

> In boot_from_devices the variable loader is not NULL checked after
> assignment and before first use but later code does check it for NULL.
> Add a NULL check before first use.
> 
> This issue was found by Smatch.
> 
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] spl: NULL check variable before dereference
      commit: ae409a84e7bffb0c5a0d420d72806ac7b854f619
-- 
Tom




More information about the U-Boot mailing list