diff options
| author | INDIA\sachinganesh <sachinganesh@ami.com> | 2025-01-13 13:45:54 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-26 20:15:56 +0300 |
| commit | aedcaa3df8a246ef859c234ed5c243471c5be698 (patch) | |
| tree | 7fddc6c8556b2fbea031dad8d1d88ae4f4cc397b /BaseTools/Source/Python/AutoGen/ModuleAutoGenHelper.py | |
| parent | b3bfb8f22d43bd9577df85bec20e75eb2f659990 (diff) | |
| download | edk2-aedcaa3df8a246ef859c234ed5c243471c5be698.tar.xz | |
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 <sachinganesh@ami.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/ModuleAutoGenHelper.py')
0 files changed, 0 insertions, 0 deletions
