Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: c95233b8525ca6828921affd1496146cff262e65 https://github.com/tianocore/edk2/commit/c95233b8525ca6828921affd1496146cff262e65 Author: Doug Flick <dougfl...@microsoft.com> Date: 2024-09-30 (Mon, 30 Sep 2024)
Changed paths: M MdePkg/Library/BasePeCoffLib/BasePeCoff.c Log Message: ----------- MdePkg: Fix overflow issue in BasePeCoffLib The RelocDir->Size is a UINT32 value, and RelocDir->VirtualAddress is also a UINT32 value. The current code does not check for overflow when adding RelocDir->Size to RelocDir->VirtualAddress. This patch adds a check to ensure that the addition does not overflow. Signed-off-by: Doug Flick <dougfl...@microsoft.com> Authored-by: sriraamx gobichettipalayam <sr...@intel.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits