[PATCH v2] ofnode: NULL check bootscr_flash_size before dereference

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


On Mon, 07 Jul 2025 11:04:29 +0100, Andrew Goodbody wrote:

> Move the NULL check of bootscr_flash_size to before the first time it is
> dereferenced to avoid any possible segment violations.
> 
> This issue found by Smatch.
> 
> 

Applied to u-boot/master, thanks!

[1/1] ofnode: NULL check bootscr_flash_size before dereference
      commit: cd79a2839b01571b6f2915c219f71c05e3c97482
-- 
Tom




More information about the U-Boot mailing list