Fixed two K8 report issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7929 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
gdong1
2009-03-24 06:53:26 +00:00
parent 33f201a09c
commit 5547062df5
2 changed files with 6 additions and 3 deletions

View File

@ -443,6 +443,10 @@ ExtractDataFromHiiHandle (
SizeOfNvStore = 0;
CachedStart = 0;
if (DefaultImage == NULL || Guid == NULL) {
return EFI_INVALID_PARAMETER;
}
Status = GetHiiInterface (&Hii);
if (EFI_ERROR (Status)) {
return Status;