aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRicardo Koller <[email protected]>2021-10-04 18:19:13 -0700
committerMarc Zyngier <[email protected]>2021-10-11 09:31:41 +0100
commitc56a87da0a7fa14180082249ac954c7ebc9e74e1 (patch)
tree0b6e5df5e586ffea6ecc041a3e9b00fd628ac686 /lib/test_fortify/write_overflow-strncpy-src.c
parent4612d98f58c73ad63928200fd332f75c8e524dae (diff)
KVM: arm64: vgic-v2: Check cpu interface region is not above the VM IPA size
Verify that the GICv2 CPU interface does not extend beyond the VM-specified IPA range (phys_size). base + size > phys_size AND base < phys_size Add the missing check into kvm_vgic_addr() which is called when setting the region. This patch also enables some superfluous checks for the distributor (vgic_check_ioaddr was enough as alignment == size for the distributors). Reviewed-by: Eric Auger <[email protected]> Signed-off-by: Ricardo Koller <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions