0
0
mirror of https://mirrors.bfsu.edu.cn/git/linux.git synced 2024-12-26 20:44:32 +08:00
linux/drivers/vfio
Alex Williamson ec1287e511 vfio-pci: Fix buffer overfill
A read from a range hidden from the user (ex. MSI-X vector table)
attempts to fill the user buffer up to the end of the excluded range
instead of up to the requested count.  Fix it.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Cc: stable@vger.kernel.org
2013-01-15 10:45:26 -07:00
..
pci vfio-pci: Fix buffer overfill 2013-01-15 10:45:26 -07:00
Kconfig vfio: Add PCI device driver 2012-07-31 08:16:24 -06:00
Makefile vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio_iommu_type1.c vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio.c VFIO: use ACCESS_ONCE() to guard access to dev->driver 2012-12-07 13:43:50 -07:00