On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull <asc...@google.com> wrote: > > Ensure the virtio PCI capabilities are contained within the bounds of > the device's configuration space. The expected size of the capability is > passed when searching for the capability to enforce this check. > > Signed-off-by: Andrew Scull <asc...@google.com> > --- > drivers/virtio/virtio_pci_modern.c | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>