diff options
| author | Yan Zhao <[email protected]> | 2020-04-08 07:12:34 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2020-04-20 18:40:16 +0000 |
| commit | 0ea971f8dcd6dee78a9a30ea70227cf305f11ff7 (patch) | |
| tree | f0f4a20f29d687e32a624bae583175f4444d41a8 /lib/test_linear_ranges.c | |
| parent | vfio: checking of validity of user vaddr in vfio_dma_rw (diff) | |
| download | kernel-0ea971f8dcd6dee78a9a30ea70227cf305f11ff7.tar.gz kernel-0ea971f8dcd6dee78a9a30ea70227cf305f11ff7.zip | |
vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
add parentheses to avoid possible vaddr overflow.
Fixes: a54eb55045ae ("vfio iommu type1: Add support for mediated devices")
Signed-off-by: Yan Zhao <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/test_linear_ranges.c')
0 files changed, 0 insertions, 0 deletions
