summaryrefslogtreecommitdiff
path: root/drivers/misc/mpfs_syscontroller.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-08-28 15:03:35 +0200
committerLeo Yu-Chi Liang <[email protected]>2025-09-19 19:11:18 +0800
commit686b48af6d6f4e33f10dc707e9a8c8213b682348 (patch)
tree44a5acfe5617b730c57bcf8590d68720bc0dccd8 /drivers/misc/mpfs_syscontroller.c
parent409c73ef6368b07d4dbdf8391a0b9c7682dcf4b4 (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