audk/DuetPkg/FSVariable
Star Zeng 053d95e7e5 DuetPkg FSVariable: 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: Ruiyu Ni <ruiyu.ni@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
..
FSVariable.c DuetPkg FSVariable: return error for empty str VariableName to GetVariable 2016-05-15 17:48:53 +08:00
FSVariable.h Add comments for FSVariable driver which used by Duet platform only, trust all meta data for this platform. 2014-10-15 05:19:08 +00:00
FSVariable.inf Add comments for FSVariable driver which used by Duet platform only, trust all meta data for this platform. 2014-10-15 06:20:09 +00:00
FileStorage.c Add comments for FSVariable driver which used by Duet platform only, trust all meta data for this platform. 2014-10-15 05:19:08 +00:00
MemStorage.c Add comments for FSVariable driver which used by Duet platform only, trust all meta data for this platform. 2014-10-15 05:19:08 +00:00
VariableStorage.h Add comments for FSVariable driver which used by Duet platform only, trust all meta data for this platform. 2014-10-15 05:19:08 +00:00