summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Antin <ben.antin@endlessm.com>2016-07-18 12:28:12 -0700
committerBenjamin Antin <ben.antin@endlessm.com>2016-07-18 12:28:12 -0700
commit9c0a41378ad3cfd7115530d0e8f4e94019ae24a9 (patch)
tree79a630e889752ecce0c5fbef0f0a539ce530683a
parent48e39ab69dc731f57f9fad3eb4990a0f601c6c23 (diff)
downloadefi-boot-shim-Release_3.0.8.tar.gz
efi-boot-shim-Release_3.0.8.zip
When fallback.efi is not present, the should_use_fallback error path attempts to close a file that has already been closed, resulting in a hang. This issue only affects certain systems. This is a regression from version 0.8 and was introduced by commit 4794822. Signed-off-by: Benjamin Antin <ben.antin@endlessm.com>
-rw-r--r--shim.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shim.c b/shim.c
index f5bed2dc..7d36b418 100644
--- a/shim.c
+++ b/shim.c
@@ -1371,7 +1371,6 @@ should_use_fallback(EFI_HANDLE image_handle)
* Print(L"Could not open \"\\EFI\\BOOT%s\": %d\n", FALLBACK,
* rc);
*/
- uefi_call_wrapper(vh->Close, 1, vh);
goto error;
}