Index: ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
===================================================================
--- ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c	(revision 16141)
+++ ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c	(working copy)
@@ -335,7 +335,7 @@
   FreePool (Buffer);
 
   if (!EFI_ERROR (Status) && 
-      (BufferSize != sizeof (NameSize) + sizeof (DataSize) + sizeof (*Guid) + sizeof (Attributes) + NameSize + DataSize)
+      (BufferSize != sizeof (NameSize) + sizeof (DataSize) + sizeof (*Guid) + sizeof (Attributes) + NameSize + DataSize + sizeof (UINT32))
     ) {
     Status = EFI_DEVICE_ERROR;
   }
