mirror of https://github.com/acidanthera/audk.git
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:
parent
f1cd55fe24
commit
027c2ecb3b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue