]> git.baikalelectronics.ru Git - uboot.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)
commit5581356133065ad878f4f5e345e0499ca91dac56
tree3e0d0be9f820ce26d6da65c681c634e14aaaba32
parent51d65b4571fd7c550d88e69ef2e2b0ac68666532
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