diff options
Diffstat (limited to 'EdkModulePkg/Core/Dxe/Image/Image.c')
-rw-r--r-- | EdkModulePkg/Core/Dxe/Image/Image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/EdkModulePkg/Core/Dxe/Image/Image.c b/EdkModulePkg/Core/Dxe/Image/Image.c index 9b9720d..0bef1ff 100644 --- a/EdkModulePkg/Core/Dxe/Image/Image.c +++ b/EdkModulePkg/Core/Dxe/Image/Image.c @@ -595,6 +595,7 @@ Returns: EFI_DEVICE_PATH_PROTOCOL *HandleFilePath;
UINTN FilePathSize;
+ SecurityStatus = EFI_SUCCESS;
ASSERT (gEfiCurrentTpl < EFI_TPL_NOTIFY);
ParentImage = NULL;
@@ -753,6 +754,8 @@ Done: CoreUnloadAndCloseImage (Image, (BOOLEAN)(DstBuffer == 0));
*ImageHandle = NULL;
}
+ } else if (EFI_ERROR (SecurityStatus)) {
+ Status = SecurityStatus;
}
return Status;
|