[PATCH 1/1] image-fit: fit_check_format check for valid FDT
Simon Glass
sjg at chromium.org
Thu Jan 14 16:42:19 CET 2021
On Tue, 12 Jan 2021 at 18:36, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> 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 at gmx.de>
> ---
> common/image-fit.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list