OptionMap->Guid may not align on UINT32 baundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5755 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -429,7 +429,7 @@ CreateQuestionIdMap (
|
|||||||
|
|
||||||
InsertTailList (OneOfOptinMapEntryListHead, &OneOfOptionMapEntry->Link);
|
InsertTailList (OneOfOptinMapEntryListHead, &OneOfOptionMapEntry->Link);
|
||||||
}
|
}
|
||||||
}else if (CompareGuid (&OptionMap->Guid, &gTianoHiiIfrGuid)) {
|
}else if (CompareMem (&OptionMap->Guid, &gTianoHiiIfrGuid, sizeof (EFI_GUID))) {
|
||||||
Class = (EFI_IFR_GUID_CLASS *) OpCode;
|
Class = (EFI_IFR_GUID_CLASS *) OpCode;
|
||||||
|
|
||||||
switch (Class->ExtendOpCode) {
|
switch (Class->ExtendOpCode) {
|
||||||
|
Reference in New Issue
Block a user