Skip to content
Snippets Groups Projects
Commit 0ea971f8 authored by Yan Zhao's avatar Yan Zhao Committed by Alex Williamson
Browse files

vfio: avoid possible overflow in vfio_iommu_type1_pin_pages


add parentheses to avoid possible vaddr overflow.

Fixes: a54eb550 ("vfio iommu type1: Add support for mediated devices")
Signed-off-by: default avatarYan Zhao <yan.y.zhao@intel.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 205323b8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment