diff options
Diffstat (limited to 'MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c')
-rw-r--r-- | MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c b/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c index 6e5c4f8fcd..718c567346 100644 --- a/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c +++ b/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c @@ -130,6 +130,8 @@ UpdateMemoryAttributesDefault ( if (EFI_ERROR (Status)) {
goto Done;
}
+
+ ASSERT (PropertiesTable != NULL);
DEBUG ((EFI_D_INFO, "MemoryProtectionAttribute - 0x%016lx\n", PropertiesTable->MemoryProtectionAttribute));
if ((PropertiesTable->MemoryProtectionAttribute & EFI_PROPERTIES_RUNTIME_MEMORY_PROTECTION_NON_EXECUTABLE_PE_DATA) == 0) {
|