summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/GenFds
diff options
context:
space:
mode:
authorKajal Agarwal <kajal.agarwal@arm.com>2026-09-30 08:40:17 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-09 11:20:21 +0300
commit870158586f14dbf9d57e312ea6ea87141a1b0699 (patch)
tree50e156f6be4368140395b46ba6423e8ba475e953 /BaseTools/Source/Python/GenFds
parent1253ed87b92a04eb4c2e7e6bfb5250a6c4ac40f1 (diff)
downloadedk2-870158586f14dbf9d57e312ea6ea87141a1b0699.tar.xz
ArmPkg: Validate MM communication buffer range arithmetic
Use SafeUint64Add() to validate the secure and non-secure MM communication buffer ranges after retrieving their descriptors during initialization. Reject descriptors whose start and size overflow before entering the event loop. Since the descriptors remain unchanged after initialization, keep the simple range calculations in the address-validation functions. Test: Built ArmStandaloneMmCoreEntryPoint for AARCH64 DEBUG_GCC. Signed-off-by: Kajal Agarwal <kajal.agarwal@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
0 files changed, 0 insertions, 0 deletions