aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/pl080.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-08-17 18:00:16 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-09-23 14:38:27 +0200
commit0b33bb394d0d02918679064caa11ef59e5ff3924 (patch)
tree95898c34d27d043d6096ef63e2feaf548611bea5 /hw/dma/pl080.c
parent17b55372b509a253abed9d7d4a81772f6067220f (diff)
downloadqemu-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