diff options
| author | Thomas Huth <thuth@redhat.com> | 2022-08-17 18:00:16 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-09-23 14:38:27 +0200 |
| commit | 0b33bb394d0d02918679064caa11ef59e5ff3924 (patch) | |
| tree | 95898c34d27d043d6096ef63e2feaf548611bea5 /hw/usb/dev-network.c | |
| parent | 17b55372b509a253abed9d7d4a81772f6067220f (diff) | |
| download | focaccia-qemu-0b33bb394d0d02918679064caa11ef59e5ff3924.tar.gz focaccia-qemu-0b33bb394d0d02918679064caa11ef59e5ff3924.zip | |
hw/usb/hcd-xhci: Check whether DMA accesses fail
If a guest sets up bad descriptors, it could force QEMU to access non-existing memory regions. Thus we should check the return value of dma_memory_read/write() to make sure that these errors don't go unnoticed. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220817160016.49752-1-thuth@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-network.c')
0 files changed, 0 insertions, 0 deletions