On 2026-05-18T14:39:27, Francois Berder <[email protected]> wrote:
> boot: cedit: Check ofnode_read_prop return value
>
> In h_read_settings, val variable could be NULL due to
> ofnode_read_prop returning an error. This variable
> would then be used as the src in strcpy.
>
> Add a NULL check after calling ofnode_read_prop.
>
> Signed-off-by: Francois Berder <[email protected]>
>
> boot/cedit.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to