summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ScanMem64.asm
diff options
context:
space:
mode:
authorDoug Flick <dougflick@microsoft.com>2024-09-27 12:08:55 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-30 18:12:30 +0000
commitc95233b8525ca6828921affd1496146cff262e65 (patch)
tree0fd66526b260546bd4b16185ca86fbb576b6e743 /MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ScanMem64.asm
parent517019a55302b1222c152ee05226d55883050642 (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
MdePkg: Fix overflow issue in BasePeCoffLibHEADmaster
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/BaseMemoryLibOptDxe/Ia32/ScanMem64.asm')
0 files changed, 0 insertions, 0 deletions