Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: aedcaa3df8a246ef859c234ed5c243471c5be698 https://github.com/tianocore/edk2/commit/aedcaa3df8a246ef859c234ed5c243471c5be698 Author: INDIA\sachinganesh <sachingan...@ami.com> Date: 2025-01-26 (Sun, 26 Jan 2025)
Changed paths: M MdePkg/Library/BasePeCoffLib/BasePeCoff.c M MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf Log Message: ----------- MdePkg: Fix overflow issue in PeCoffLoaderRelocateImageForRuntime RelocDir->Size is a UINT32 value, and RelocDir->VirtualAddress is also a UINT32 value. The current code in PeCoffLoaderRelocateImageForRuntime does not check for overflow when adding RelocDir->Size to RelocDir->VirtualAddress. This patch uses SafeIntLib to ensure that the addition does not overflow. Signed-off-by: Sachin Ganesh <sachingan...@ami.com> Commit: 6278bbb89822c598fcd0637ae74174e367895c84 https://github.com/tianocore/edk2/commit/6278bbb89822c598fcd0637ae74174e367895c84 Author: INDIA\sachinganesh <sachingan...@ami.com> Date: 2025-01-26 (Sun, 26 Jan 2025) Changed paths: M MdePkg/Library/BasePeCoffLib/BasePeCoff.c Log Message: ----------- MdePkg: Use SafeIntLib to handle overflow Used SafeIntLib to handle the overflow check in PeCoffLoaderRelocateImage Signed-off-by: Sachin Ganesh <sachingan...@ami.com> Commit: d35899b6d2eb3a8a47fee10fd49a40d41ce59015 https://github.com/tianocore/edk2/commit/d35899b6d2eb3a8a47fee10fd49a40d41ce59015 Author: INDIA\sachinganesh <sachingan...@ami.com> Date: 2025-01-26 (Sun, 26 Jan 2025) Changed paths: M UnitTestFrameworkPkg/UnitTestFrameworkPkgCommon.dsc.inc Log Message: ----------- UnitTestFrameworkPkg: Add SafeIntLib to Common Includes SafeIntLib has been added to UnitTestFrameworkPkg Common Includes DSC for usage in host and target based tests. Signed-off-by: Sachin Ganesh <sachingan...@ami.com> Compare: https://github.com/tianocore/edk2/compare/b3bfb8f22d43...d35899b6d2eb 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