diff options
author | Star Zeng <star.zeng@intel.com> | 2017-06-23 15:42:07 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-06-27 13:58:01 +0800 |
commit | ddc97cf4a3e1e83f12b70dcdd0801cf8dfd2198b (patch) | |
tree | 51038eff30ca34069bbf20420978e4b2acbfe69f /MdePkg | |
parent | 6f817f9b8b07d195c63247b3cf4c1d646f1e8b0e (diff) | |
download | edk2-ddc97cf4a3e1e83f12b70dcdd0801cf8dfd2198b.tar.gz edk2-ddc97cf4a3e1e83f12b70dcdd0801cf8dfd2198b.tar.bz2 edk2-ddc97cf4a3e1e83f12b70dcdd0801cf8dfd2198b.zip |
DuetPkg FsVariable: Update GetNextVariableName to follow UEFI 2.7
"The size must be large enough to fit input string supplied in
VariableName buffer" is added in the description for VariableNameSize.
And two cases of EFI_INVALID_PARAMETER are added.
1. The input values of VariableName and VendorGuid are not a name and
GUID of an existing variable.
2. Null-terminator is not found in the first VariableNameSize bytes of
the input VariableName buffer.
This patch is to update code to follow them.
Cc: Liming Gao <liming.gao@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: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions