diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-08-28 15:03:35 +0200 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2025-09-19 19:11:18 +0800 |
| commit | 686b48af6d6f4e33f10dc707e9a8c8213b682348 (patch) | |
| tree | 44a5acfe5617b730c57bcf8590d68720bc0dccd8 /drivers/misc/mpfs_syscontroller.c | |
| parent | 409c73ef6368b07d4dbdf8391a0b9c7682dcf4b4 (diff) | |
starfive: avoid NULL dereference in fdt_check_header()
If the u-boot.itb read from SD-card is invalid, fdt_check_header() may be
called with a NULL pointer.
This was observed on an StarFive VisionFive Lite when trying to revover the
board via UART.
Add a missing check in the starfive board code.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: E Shattow <[email protected]>
Diffstat (limited to 'drivers/misc/mpfs_syscontroller.c')
0 files changed, 0 insertions, 0 deletions
