diff options
| author | Francois Berder <[email protected]> | 2026-05-18 16:39:27 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-29 14:23:11 -0600 |
| commit | c39e0e257c931c1cb03613f46b01e4db6cc0d44b (patch) | |
| tree | 1f0822e7f46b9af0707b97c90e3405616c7e330f /configs/aristainetos2c_defconfig | |
| parent | 9f00cec3d834f259a22eaca3e1e1f74365509aec (diff) | |
boot: cedit: Check ofnode_read_prop return valuenext
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]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'configs/aristainetos2c_defconfig')
0 files changed, 0 insertions, 0 deletions
