diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-05-14 12:05:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 12:05:55 +0200 |
commit | c174ca8539a47ea3b87b1d4015a0b9f21c738dad (patch) | |
tree | cc0160741f05c8e9795def8ac84deb3aa0863c35 /LICENSE | |
parent | 4929d0a29187d4c71e9034da692b5335c57cc91d (diff) | |
download | libvfio-user-c174ca8539a47ea3b87b1d4015a0b9f21c738dad.zip libvfio-user-c174ca8539a47ea3b87b1d4015a0b9f21c738dad.tar.gz libvfio-user-c174ca8539a47ea3b87b1d4015a0b9f21c738dad.tar.bz2 |
dma: Use correct len type (#479)
* dma: Use correct len type
vfio_iommu_type1_dirty_bitmap_get.size is of type __u64
dma_controller_dirty_page_get() receives it as int, instead it should be u64
Also added UT to test overflow of length passed to dma_controller_dirty_page_get
Fixes: #477
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions