diff options
-rw-r--r-- | SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c index a8773c1a80..5c975f7ca4 100644 --- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c +++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c @@ -1257,6 +1257,7 @@ GetGuidFromDataFile ( if (EFI_ERROR(Status)) {
return EFI_NOT_FOUND;
}
+ ASSERT (Value != NULL);
if (!IsValidGuid(Value, AsciiStrLen(Value))) {
return EFI_NOT_FOUND;
}
@@ -1303,6 +1304,7 @@ GetDecimalUintnFromDataFile ( if (EFI_ERROR(Status)) {
return EFI_NOT_FOUND;
}
+ ASSERT (Value != NULL);
if (!IsValidDecimalString(Value, AsciiStrLen(Value))) {
return EFI_NOT_FOUND;
}
@@ -1346,6 +1348,7 @@ GetHexUintnFromDataFile ( if (EFI_ERROR(Status)) {
return EFI_NOT_FOUND;
}
+ ASSERT (Value != NULL);
if (!IsValidHexString(Value, AsciiStrLen(Value))) {
return EFI_NOT_FOUND;
}
@@ -1389,6 +1392,7 @@ GetHexUint64FromDataFile ( if (EFI_ERROR(Status)) {
return EFI_NOT_FOUND;
}
+ ASSERT (Value != NULL);
if (!IsValidHexString(Value, AsciiStrLen(Value))) {
return EFI_NOT_FOUND;
}
|