vfio-pci: Fix buffer overfill
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 15 Jan 2013 17:45:26 +0000 (10:45 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 15 Jan 2013 17:45:26 +0000 (10:45 -0700)
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

No differences found