diff options
-rw-r--r-- | DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c b/DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c index 9249e6b87f..f98da7ffdd 100644 --- a/DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c +++ b/DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c @@ -122,11 +122,13 @@ AddAcpiHeader ( ASSERT (CfgMgrProtocol != NULL);
ASSERT (Generator != NULL);
ASSERT (AcpiHeader != NULL);
+ ASSERT (AcpiTableInfo != NULL);
ASSERT (Length >= sizeof (EFI_ACPI_DESCRIPTION_HEADER));
if ((CfgMgrProtocol == NULL) ||
(Generator == NULL) ||
(AcpiHeader == NULL) ||
+ (AcpiTableInfo == NULL) ||
(Length < sizeof (EFI_ACPI_DESCRIPTION_HEADER))
) {
return EFI_INVALID_PARAMETER;
|