diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-09-19 13:16:31 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-09-19 13:22:04 +0100 |
commit | 5d9fbf34ee3f7a8b7b829de43115437400d1189f (patch) | |
tree | ff981fb65a401722b40fb6a26176d3fa16030651 /src/net | |
parent | 0df7ce96416872931fc7fd3d90dc5781944d41a9 (diff) | |
download | ipxe-5d9fbf34ee3f7a8b7b829de43115437400d1189f.zip ipxe-5d9fbf34ee3f7a8b7b829de43115437400d1189f.tar.gz ipxe-5d9fbf34ee3f7a8b7b829de43115437400d1189f.tar.bz2 |
[efi] Provide dummy device path in efi_image_probe()
Some UEFI platforms will fail the call to LoadImage() with
EFI_INVALID_PARAMETER if we do not provide a device path (even though
we are providing a non-NULL SourceBuffer).
Fix by providing an empty device path for the call to LoadImage() in
efi_image_probe().
The call to LoadImage() in efi_image_exec() already constructs and
provides a device path (based on the most recently opened SNP device),
and so does not require this fix.
Reported-by: NICOLAS CATTIE <nicolas.cattie@mpsa.com>
Tested-by: NICOLAS CATTIE <nicolas.cattie@mpsa.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
0 files changed, 0 insertions, 0 deletions