Skip to content

Commit

Permalink
Changed comparemem to compareGuid
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlautner committed Jul 13, 2023
1 parent 097d3e3 commit 65a1a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MdeModulePkg/Core/Pei/Ppi/Ppi.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ ConvertPpiPointersFv (
Guid = PrivateData->PpiData.PpiList.PpiPtrs[Index].Ppi->Guid;
for (GuidIndex = 0; GuidIndex < ARRAY_SIZE (GuidCheckList); ++GuidIndex) {
// MU_CHANGE [BEGIN] - CodeQL change
if (CompareMem (Guid, GuidCheckList[GuidIndex], 16) == 0) {
if (CompareGuid (Guid, GuidCheckList[GuidIndex]) == 0) {
// MU_CHANGE [END] - CodeQL change
FvInfoPpi = PrivateData->PpiData.PpiList.PpiPtrs[Index].Ppi->Ppi;
DEBUG ((DEBUG_VERBOSE, " FvInfo: %p -> ", FvInfoPpi->FvInfo));
Expand Down

0 comments on commit 65a1a23

Please sign in to comment.