commit | 0b33bb394d0d02918679064caa11ef59e5ff3924 | [log] [tgz] |
---|---|---|
author | Thomas Huth <thuth@redhat.com> | Wed Aug 17 18:00:16 2022 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Fri Sep 23 14:38:27 2022 +0200 |
tree | 95898c34d27d043d6096ef63e2feaf548611bea5 | |
parent | 17b55372b509a253abed9d7d4a81772f6067220f [diff] |
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>