[u-boot,v2019.04-aspeed, v1 0/1] Common:fdt: Check for error return

Hongwei Zhang hongweiz at ami.com
Wed Dec 2 20:47:02 CET 2020


Hello Reviewer,

Check for negative return value of fdt_noffset from calling
boot_get_fdt_fit(). Otherwise, when fdt subimage is corrupted, the
u-boot report bad hash value but continue loading kernel image and
get hanged later.

Hongwei Zhang (1):
  Common:fdt: Check for error return value

 common/image-fdt.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.17.1



More information about the U-Boot mailing list