Enhance DXE dispatcher logic to check the duplicated FV image bases on FvHob2 and FvNameGuid per PI spec.
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12874 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -357,7 +357,7 @@ FvCheck (
|
||||
//
|
||||
// Check whether FvHeader is crossing the multi block range.
|
||||
//
|
||||
if (HeaderSize > BlockMap->Length) {
|
||||
if (Index >= BlockMap->NumBlocks) {
|
||||
BlockMap++;
|
||||
continue;
|
||||
} else if (HeaderSize > 0) {
|
||||
|
Reference in New Issue
Block a user