Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey1970AppleLife committed Dec 5, 2021
2 parents b1197cd + 18811af commit 7266ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/OcMemoryLib/MemoryAttributes.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ OcRebuildAttributes (
UINT32 DescriptorVersion;

MemoryAttributesTable = OcGetMemoryAttributes (&MemoryAttributesEntry);
if (MemoryAttributesTable == NULL) {
if (MemoryAttributesTable == NULL || MemoryAttributesTable->NumberOfEntries == 0) {
return EFI_UNSUPPORTED;
}

Expand Down

0 comments on commit 7266ec9

Please sign in to comment.