]> git.baikalelectronics.ru Git - uboot.git/commit
virtio: pci: Bounds check notification writes
authorAndrew Scull <ascull@google.com>
Thu, 21 Apr 2022 16:11:02 +0000 (16:11 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 3 May 2022 19:50:45 +0000 (15:50 -0400)
commit1ac49360346bf15c96146df67daa7cfdba6e2d97
tree67ac05620f16a82222c8e8bb93588a2bf99f6994
parent4458cca14d32ceb571b0b96f0c9f07cd55997697
virtio: pci: Bounds check notification writes

Make sure virtio notifications are written within their allocated
buffer.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/virtio/virtio_pci_modern.c