Merge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2058 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24 2006-12-06 05:32:17 +00:00
parent f1cd55fe24
commit 027c2ecb3b
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ Returns:
UINTN VarNameSize;
EFI_STATUS Status;
if (VariableNameSize == NULL || VendorGuid == NULL) {
if (VariableNameSize == NULL || VariableName == NULL || VendorGuid == NULL) {
return EFI_INVALID_PARAMETER;
}