Branch: refs/heads/advisory-fix-1
Home: https://github.com/tianocore/edk2
Commit: 6c2291732a5b1a1186c7b405e6c688983915acd2
https://github.com/tianocore/edk2/commit/6c2291732a5b1a1186c7b405e6c688983915acd2
Author: Doug Flick <[email protected]>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
M MdePkg/Library/BasePeCoffLib/BasePeCoff.c
Log Message:
-----------
MdePkg: Fix overflow issue in BasePeCoffLib: PeCoffLoaderRelocateImage
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 <[email protected]>
Authored-by: sriraamx gobichettipalayam
<[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits