commit | f53c0577edcf72267871664ed530c9305a5e1956 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Apr 21 16:11:04 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue May 03 15:50:45 2022 -0400 |
tree | 81293cefd32276c68e5b291a05c592811965408d | |
parent | 53d6e1df6675b95e7707c38c89b776d88e5d7cc6 [diff] |
virtio: pci: Check virtio capability is in bounds 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 <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>