[Bug 3984] New: UefiPayloadPkg: Fix RelaAddress type always mismatch in if condition


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=3984

Bug ID: 3984
Summary: UefiPayloadPkg: Fix RelaAddress type always mismatch
in if condition
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Code
Assignee: unassigned@...
Reporter: james.lu@...
CC: edk2+bugs+int+994+563148131503455288@groups.io

RolocateElfDynamic() in Edk2\UefiPayloadPkg\PayloadLoaderPeim\ElfLib\Elf32Lib.c

The line if (RelaAddress == MAX_UINT64) is always FALSE due to RelaAddress is
declared as UINT32

The fix is to modify if condition to if (RelaAddress == MAX_UINT32)

--
You are receiving this mail because:
You are on the CC list for the bug.

Join {bugs@edk2.groups.io to automatically receive all group messages.