This patchset contains a simple fix for 2 ESP fuzzer issues reported on gitlab
as https://gitlab.com/qemu-project/qemu/-/issues/662 and
https://gitlab.com/qemu-project/qemu/-/issues/663.

The first patch contains the fix itself, whilst the second patch contains a
qtest based upon issue 663 (the qtest reproducer posted on issue 662 didn't
trigger the issue for me, however this fix does prevent the attached hyfuzz
image from triggering the assert).

Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>


Mark Cave-Ayland (2):
  esp: ensure in-flight SCSI requests are always cancelled
  qtest/am53c974-test: add test for cancelling in-flight requests

 hw/scsi/esp.c               | 10 +++++-----
 tests/qtest/am53c974-test.c | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 5 deletions(-)

-- 
2.20.1


Reply via email to