"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.
Star Zeng (2): MdePkg: Update comments for GetNextVariableName to follow UEFI 2.7 MdeModulePkg Variable: Update GetNextVariableName to follow UEFI 2.7 MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 19 +++++++++++++++++++ MdePkg/Include/Uefi/UefiSpec.h | 7 ++++++- 2 files changed, 25 insertions(+), 1 deletion(-) -- 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel