summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/CommonDataClass
diff options
context:
space:
mode:
authorKajal Agarwal <kajal.agarwal@arm.com>2026-09-30 18:58:38 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-08 20:22:47 +0300
commit73e0357ce40a7feed01d4cf295c5270ba72d6b5f (patch)
tree6ac97e4f9828e6a455b86f4ce680da850cdaf4ad /BaseTools/Source/Python/CommonDataClass
parentc5dfd62aeeb0d4f24d3e41b4f6631f2bd934f654 (diff)
downloadedk2-73e0357ce40a7feed01d4cf295c5270ba72d6b5f.tar.xz
ArmPkg/ArmGicDxe: Validate GICv2 interrupt source
GicV2RegisterInterruptSource() forms a pointer into the registered interrupt handler array before the source is validated by the enable or disable path. An unsupported source can therefore cause an out-of-bounds access in GicCommonRegisterInterruptSource(). Validate the source against the supported GIC interrupt count before indexing the handler array and return EFI_UNSUPPORTED for an invalid source. Document the source validation helper and the registration function, including its parameters, unregistration behavior and return values. Signed-off-by: Kajal Agarwal <kajal.agarwal@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass')
0 files changed, 0 insertions, 0 deletions