diff options
author | Andrew Scull <ascull@google.com> | 2022-04-21 16:11:04 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-03 15:50:45 -0400 |
commit | 6a8cb878a24257ea64dfbd0f5493f07759eb5a0d (patch) | |
tree | 81293cefd32276c68e5b291a05c592811965408d /common | |
parent | f2c1ef1b6dfe93e9912d5d5dfae1e527da511c3f (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>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions