efi_loader: correct parameter check in LocateHandle()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 4 May 2019 15:37:32 +0000 (17:37 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 May 2019 19:10:03 +0000 (21:10 +0200)
commit8dfb5e6e211fb9d6e1c6650617377a99342224ae
tree7aeac221c96644aa97ac12518a1b3c1ca35701ef
parent1884512b77ce54fffa50bb07cf065d4831171a6d
efi_loader: correct parameter check in LocateHandle()

If LocateHandle() does not find an entry EFI_NOT_FOUND has to be returned
even if BufferSize is NULL.

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