diff options
author | Doug Flick <dougflick@microsoft.com> | 2024-09-27 12:08:55 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-30 18:12:30 +0000 |
commit | c95233b8525ca6828921affd1496146cff262e65 (patch) | |
tree | 0fd66526b260546bd4b16185ca86fbb576b6e743 /MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S | |
parent | 517019a55302b1222c152ee05226d55883050642 (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
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 <dougflick@microsoft.com>
Authored-by: sriraamx gobichettipalayam <sri..@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S')
0 files changed, 0 insertions, 0 deletions