Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2677286307c67b62c198cf6890d62ec540dd8c99
      
https://github.com/tianocore/edk2/commit/2677286307c67b62c198cf6890d62ec540dd8c99
  Author: James Lu <james...@intel.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c

  Log Message:
  -----------
  UefiPayloadPkg: Fix RelaAddress type always mismatch in if condition

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

Under function RolocateElfDynamic() in Elf32Lib.c
if (RelaAddress == MAX_UINT64) is always FALSE while RelaAddress is UINT32
Fix is to  modify if condition check to "if (RelaAddress == MAX_UINT32)"

Cc: Ray Ni <ray...@intel.com>
Cc: Guo Dong <guo.d...@intel.com>
Cc: Gua Guo <gua....@intel.com>
Signed-off-by: James Lu <james...@intel.com>
Reviewed-by: Guo Dong <guo.d...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to