commit | a1198337446b9a1488cac5ac30771c9164c9393f | [log] [tgz] |
---|---|---|
author | Caleb Connolly <caleb.connolly@linaro.org> | Mon Mar 18 23:16:36 2024 +0000 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 10 09:26:00 2024 -0600 |
tree | 69d3c78f88f5ec02b4678a76f79cca33db0b0e4f | |
parent | d8ceb206664bab3910d20c99662feb74abf0f082 [diff] |
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: 993c912d304d ("cmd: sysboot: Create a sysboot command dedicated file") Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>