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/dma/pl080.c | |
parent | 17b55372b509a253abed9d7d4a81772f6067220f (diff) | |
download | qemu-0b33bb394d0d02918679064caa11ef59e5ff3924.zip qemu-0b33bb394d0d02918679064caa11ef59e5ff3924.tar.gz qemu-0b33bb394d0d02918679064caa11ef59e5ff3924.tar.bz2 |
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/dma/pl080.c')
0 files changed, 0 insertions, 0 deletions