[PATCH u-boot v2019.04-aspeed-openbmc 7/7] image-fit: fit_check_format check for valid FDT
Klaus Heinrich Kiwi
klaus at linux.vnet.ibm.com
Fri Jan 29 06:52:40 AEDT 2021
On 1/28/2021 7:53 AM, Joel Stanley wrote:
> From: Heinrich Schuchardt <xypron.glpk at gmx.de>
>
> 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>
> (cherry picked from commit ea1a9ec5f430359720d9a0621ed1acfbba6a142a)
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Reviewed-by: Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>
--
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>
More information about the openbmc
mailing list