diff options
Diffstat (limited to 'EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c')
-rw-r--r-- | EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c b/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c index bfb499ab65..093705c60d 100644 --- a/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c +++ b/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c @@ -382,7 +382,7 @@ Returns: UINTN VarNameSize;
EFI_STATUS Status;
- if (VariableNameSize == NULL || VendorGuid == NULL) {
+ if (VariableNameSize == NULL || VariableName == NULL || VendorGuid == NULL) {
return EFI_INVALID_PARAMETER;
}
|