提交 7266ec98 编写于 作者: A Andrey1970AppleLife
......@@ -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
......
......@@ -438,7 +438,7 @@ OcRebuildAttributes (
UINT32 DescriptorVersion;
MemoryAttributesTable = OcGetMemoryAttributes (&MemoryAttributesEntry);
if (MemoryAttributesTable == NULL) {
if (MemoryAttributesTable == NULL || MemoryAttributesTable->NumberOfEntries == 0) {
return EFI_UNSUPPORTED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册