[PATCH 0/2] esp: fix for fuzzer issues on gitlab

Mark Cave-Ayland posted 2 patches 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211101183516.8455-1-mark.cave-ayland@ilande.co.uk
Maintainers: Laurent Vivier <lvivier@redhat.com>, Fam Zheng <fam@euphon.net>, Thomas Huth <thuth@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/esp.c               | 10 +++++-----
tests/qtest/am53c974-test.c | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 5 deletions(-)
[PATCH 0/2] esp: fix for fuzzer issues on gitlab
Posted by Mark Cave-Ayland 2 years, 6 months ago
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-ayland@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