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

Joel Stanley joel at jms.id.au
Thu Dec 3 03:17:16 CET 2020


Hello Hongwei,

On Wed, 2 Dec 2020 at 19:48, Hongwei Zhang <hongweiz at ami.com> wrote:
>
> 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.

I can see from your subject line that you intended this to go to
Aspeed's fork of u-boot. That's fine, but you shouldn't cc the
upstream maintainers as they don't care for these changes.

If the bug exists in mainline u-boot, you should certainly send the
fix there and ask for it to be backported to the aspeed fork.

Cheers,

Joel

>
> 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