Re: [PATCH] cmd: sysboot: null check filename

2024-04-10 Thread Tom Rini
On Mon, 18 Mar 2024 23:16:36 +, Caleb Connolly wrote: > 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. > > Applied to u-boot/master, thanks!

[PATCH] cmd: sysboot: null check filename

2024-03-18 Thread Caleb Connolly
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: 993c912d304d ("cmd: sysboot: Create a sysboot command dedicated file") Signed-off-by: Caleb Connolly