This commit is contained in:
Andrey1970AppleLife 2021-12-05 12:45:50 +03:00
commit 7266ec9898
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ OpenCore Changelog
- Added `EnableVmx` quirk to allow virtualization in other OS on some Macs
- Upgraded `ProtectUefiServices` to prevent GRUB shim overwriting service pointers when chainloading with Secure Boot enabled
- Removed deprecated SSDT-PNLFCFL
- Fixed handling of zero-sized Memory Attributes Table
#### v0.7.5
- Revised OpenLinuxBoot documentation

View File

@ -438,7 +438,7 @@ OcRebuildAttributes (
UINT32 DescriptorVersion;
MemoryAttributesTable = OcGetMemoryAttributes (&MemoryAttributesEntry);
if (MemoryAttributesTable == NULL) {
if (MemoryAttributesTable == NULL || MemoryAttributesTable->NumberOfEntries == 0) {
return EFI_UNSUPPORTED;
}