mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Watch out for invalid variables
This commit is contained in:
parent
f352fa0cab
commit
4ab4393632
@ -1526,6 +1526,7 @@ USTATUS NvramParser::parseVssStoreBody(const UModelIndex & index, UINT8 alignmen
|
|||||||
|
|
||||||
// Rename invalid variables
|
// Rename invalid variables
|
||||||
if (isInvalid || !variableGuid) {
|
if (isInvalid || !variableGuid) {
|
||||||
|
isInvalid = true;
|
||||||
name = UString("Invalid");
|
name = UString("Invalid");
|
||||||
}
|
}
|
||||||
else { // Add GUID and text for valid variables
|
else { // Add GUID and text for valid variables
|
||||||
|
Loading…
Reference in New Issue
Block a user