summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
diff options
context:
space:
mode:
authorzliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-06 08:55:23 +0000
committerzliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-06 08:55:23 +0000
commit3820a1717bbe60b0734951fce3cfb4d06b6a1529 (patch)
treee31934ef39e148d92f21323eab14ad1f12597a77 /EdkModulePkg/Universal
parent09d4dd14e9281f125de3090acbfbff1d1aa05756 (diff)
downloadedk2-platforms-3820a1717bbe60b0734951fce3cfb4d06b6a1529.tar.xz
For the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", Revision 2059 missed the fixing of Revision 2058, so commit the fixing of revision 2058
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2060 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal')
-rw-r--r--EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c2
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;
}