mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-25 18:48:42 +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 (SourceSize > 0) {
|
||||||
|
if (DeviceHandle != NULL) {
|
||||||
|
Status = CoreOpenProtocol (
|
||||||
|
DeviceHandle,
|
||||||
|
&gEfiFirmwareVolume2ProtocolGuid,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
EFI_OPEN_PROTOCOL_TEST_PROTOCOL
|
||||||
|
);
|
||||||
|
ImageIsFromFv = !EFI_ERROR (Status);
|
||||||
|
}
|
||||||
|
|
||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
Status = EFI_LOAD_ERROR;
|
Status = EFI_LOAD_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user