Skip to content
Commit 8b76a398 authored by Caleb Connolly's avatar Caleb Connolly Committed by Tom Rini
Browse files

cmd: sysboot: null check filename



Currently if ${bootfile} is unset and sysboot is invoked with no
filename specified then U-Boot will crash will a null-pointer
dereference. Add the missing check and a matching error print.

Fixes: 993c912d ("cmd: sysboot: Create a sysboot command dedicated file")
Signed-off-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
parent 7f9f196b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment