Skip to content
Commit ab557141 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: LocateDevicePath() incorrect parameter check



A parameter check in LocateDevicePath() does not match the requirements of
the UEFI spec.

If device is NULL, only return EFI_INVALID_PARAMETER if a matching handle
is found.

Cf. UEFI SCT II specification (2017)3.3.7 LocateDevicePath(), 5.1.3.7.3

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 0a843196
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment