summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
diff options
context:
space:
mode:
authorKajal Agarwal <kajal.agarwal@arm.com>2026-10-21 17:50:25 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-22 21:23:18 +0300
commit6a3fb7e0111bbd564b4244a9cbd458995fde684c (patch)
tree7b1993851ce4edc070c20ac9bec48b0c7a934712 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
parentc41279f7b01f176b8c924f563cd6ae833f176be2 (diff)
downloadedk2-6a3fb7e0111bbd564b4244a9cbd458995fde684c.tar.xz
ArmPkg/ArmPsciMpServicesDxe: Validate processor index before access
EnableDisableAP() reads the target processor's status before checking whether ProcessorNumber is within the per-processor data array. An invalid index can therefore cause an out-of-bounds read instead of returning EFI_NOT_FOUND. Move the per-processor data access after the existing caller, processor index and BSP checks. Read StatusFlag through the validated CpuData pointer to preserve the existing behavior for valid APs. Signed-off-by: Kajal Agarwal <kajal.agarwal@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions