diff options
author | Benjamin Antin <ben.antin@endlessm.com> | 2016-07-18 12:28:12 -0700 |
---|---|---|
committer | Benjamin Antin <ben.antin@endlessm.com> | 2016-07-18 12:28:12 -0700 |
commit | 9c0a41378ad3cfd7115530d0e8f4e94019ae24a9 (patch) | |
tree | 79a630e889752ecce0c5fbef0f0a539ce530683a | |
parent | 48e39ab69dc731f57f9fad3eb4990a0f601c6c23 (diff) | |
download | efi-boot-shim-Release_3.0.8.tar.gz efi-boot-shim-Release_3.0.8.zip |
Don't close file twice in should_use_fallback error pathRelease_3.0.9Release_3.0.8Release_3.0.7Release_3.0.6Release_3.0.5Release_3.0.4Release_3.0.3Release_3.0.2Release_3.0.11Release_3.0.10Release_3.0.1Release_3.0.0
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |