summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2025-10-30 21:30:23 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-22 16:06:14 +0300
commit5be1bccd9cd009e54c75ee31fb8f760dfb7954b1 (patch)
tree48bf205b77529ef10a728db9a9a122a52d3978ac /MdeModulePkg/Library/PiDxeS3BootScriptLib
parente93ee87643a30df3bffede2f4cdadfc7be88f0bd (diff)
downloadedk2-5be1bccd9cd009e54c75ee31fb8f760dfb7954b1.tar.xz
MdeModulePkg: DxeCore: Check overflow before using resource hob memory top
Current GCD logic uses plain addition calulation when iterating through the resource descriptor hobs. However, if the resource descriptor is incorrectly prepared, this could cause incorrect memory initialization and other failures down the boot process. This change adds an overflow check before using the value. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions