]> git.baikalelectronics.ru Git - uboot.git/commit
image-fit: fit_check_format check for valid FDT
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:09:12 +0000 (02:09 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:38:00 +0000 (02:38 +0100)
commit998d5a482152db40c3a66c742fa771208ac37dbf
tree082f34fbda5ba90e3af478d145aedc96024c2bd1
parent7b360e3487d4b7799b0f1f9746ea7543256caf36
image-fit: fit_check_format check for valid FDT

fit_check_format() must check that the buffer contains a flattened device
tree before calling any device tree library functions.

Failure to do may cause segmentation faults.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
common/image-fit.c