diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2024-03-24 19:16:59 +0000 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2024-04-04 15:17:53 +0100 |
commit | 5a50644e4763b6e8370eddc10d30d87134a91167 (patch) | |
tree | a98cfcbc7ed4848a5def98d823ad127b0a80489d /scripts/qapi/schema.py | |
parent | 266170f91f9079c102dafb252497f3bae5e844ee (diff) | |
download | qemu-5a50644e4763b6e8370eddc10d30d87134a91167.zip qemu-5a50644e4763b6e8370eddc10d30d87134a91167.tar.gz qemu-5a50644e4763b6e8370eddc10d30d87134a91167.tar.bz2 |
esp.c: don't assert() if FIFO empty when executing non-DMA SELATNS
The current logic assumes that at least 1 byte is present in the FIFO when
executing a non-DMA SELATNS command, but this may not be the case if the
guest executes an invalid ESP command sequence.
Reported-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240324191707.623175-11-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions