mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-25 10:47:47 +02:00
MdeModulePkg/DxeCore: Check FileAuthenticationStatus for caller buffers
This commit is contained in:
parent
4a541b7183
commit
3a50f54cab
@ -1113,6 +1113,18 @@ CoreLoadImageCommon (
|
||||
}
|
||||
|
||||
if (SourceSize > 0) {
|
||||
if (DeviceHandle != NULL) {
|
||||
Status = CoreOpenProtocol (
|
||||
DeviceHandle,
|
||||
&gEfiFirmwareVolume2ProtocolGuid,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
EFI_OPEN_PROTOCOL_TEST_PROTOCOL
|
||||
);
|
||||
ImageIsFromFv = !EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
} else {
|
||||
Status = EFI_LOAD_ERROR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user