]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: correctly split device path of loaded image
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 20 Apr 2019 19:24:43 +0000 (19:24 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 22 Apr 2019 22:37:28 +0000 (00:37 +0200)
commit8c5066d4dbcc0ceceb900eb49418916c571f6dd1
tree611f2a7213ed2eb2b18ffd7d1bb71b4fb520035b
parent990025498c6acc9f994159308a3b8b94b6650599
efi_loader: correctly split device path of loaded image

When the LoadImage() service is called for an image that is already loaded
to memory the file path may be NULL or it will contain both a device path
as well as a media path. We should not assume that there is no media path.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c