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:14 -0700
committerMarc Zyngier <[email protected]>2021-10-11 09:31:42 +0100
commit2ec02f6c64f043a249850c835ca7975c3a155d8b (patch)
treecae71cd969d0cacb50cbcd1d8410379c7893ca56 /lib/test_fortify/write_overflow-strncpy-src.c
parentc56a87da0a7fa14180082249ac954c7ebc9e74e1 (diff)
KVM: arm64: vgic-v3: Check ITS region is not above the VM IPA size
Verify that the ITS region does not extend beyond the VM-specified IPA range (phys_size). base + size > phys_size AND base < phys_size Add the missing check into vgic_its_set_attr() which is called when setting the region. 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