]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Check the filename in jump_to_image_no_args()
authorSimon Glass <sjg@chromium.org>
Sat, 24 Nov 2018 04:29:25 +0000 (21:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:01:34 +0000 (06:01 -0700)
commit12efc933b9e69f7340703655d84b9b610fa42fd4
tree3e0d0be9f820ce26d6da65c681c634e14aaaba32
parent6b5e420137b42f3c23669b07a7b0c6ff5502fcb9
sandbox: Check the filename in jump_to_image_no_args()

If the filename is NULL this function currently crashes. Update it to fail
gracefully.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/spl.c