mirror_edk2/MdeModulePkg/Universal/Variable/RuntimeDxe
Star Zeng e19eab6153 MdeModulePkg Variable: return error for empty str VariableName to GetVariable
Current GetVariable implementation will return the first variable for
empty str VariableName, it is because GetVariable and GetNextVariablename
are sharing same function FindVariable.
But UEFI sepc defines SetVariable that If VariableName is an empty string,
then EFI_INVALID_PARAMETER is returned, that means an empty string variable
could never be set successfully, so GetVariable should return error for
empty string VariableName.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2016-05-15 17:48:53 +08:00
..
Measurement.c MdeModulePkg Variable: Merge from Auth Variable driver in SecurityPkg 2015-07-01 03:08:29 +00:00
Reclaim.c MdeModulePkg Variable: Merge from Auth Variable driver in SecurityPkg 2015-07-01 03:08:29 +00:00
TcgMorLockDxe.c MdeModulePkg: Add MorLockDxe to variable driver. 2016-01-19 13:21:18 +00:00
TcgMorLockSmm.c MdeModulePkg: Add MorLockSmm to variable driver. 2016-01-19 13:20:50 +00:00
VarCheck.c MdeModulePkg Variable: Consume the separated VarCheckLib 2015-08-25 03:01:56 +00:00
Variable.c MdeModulePkg Variable: return error for empty str VariableName to GetVariable 2016-05-15 17:48:53 +08:00
Variable.h MdeModulePkg Variable: Consume the separated VarCheckLib 2015-08-25 03:01:56 +00:00
VariableDxe.c MdeModulePkg Variable: Enhance variable performance by reading from existed memory cache. 2015-10-23 05:28:38 +00:00
VariableExLib.c MdeModulePkg Variable: Read MonotonicCount by ReadUnaligned64() 2015-07-27 00:49:00 +00:00
VariableRuntimeDxe.inf MdeModulePkg: Update Guid/Protocol usages in INF files. 2016-04-13 14:52:59 +08:00
VariableRuntimeDxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
VariableRuntimeDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
VariableSmm.c MdeModulePkg Variable: Consume the separated VarCheckLib 2015-08-25 03:01:56 +00:00
VariableSmm.inf MdeModulePkg: Update Guid/Protocol usages in INF files. 2016-04-13 14:52:59 +08:00
VariableSmm.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
VariableSmmExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
VariableSmmRuntimeDxe.c MdeModulePkg Variable: Merge from Auth Variable driver in SecurityPkg 2015-07-01 03:08:29 +00:00
VariableSmmRuntimeDxe.inf MdeModulePkg Variable: Merge from Auth Variable driver in SecurityPkg 2015-07-01 03:08:29 +00:00
VariableSmmRuntimeDxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
VariableSmmRuntimeDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00