Watch out for invalid variables

This commit is contained in:
vit9696 2018-05-08 19:33:00 +03:00
parent f352fa0cab
commit 4ab4393632

View File

@ -1526,6 +1526,7 @@ USTATUS NvramParser::parseVssStoreBody(const UModelIndex & index, UINT8 alignmen
// Rename invalid variables
if (isInvalid || !variableGuid) {
isInvalid = true;
name = UString("Invalid");
}
else { // Add GUID and text for valid variables