|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] lsi53c895a: avoid out of bounds access to s->msg[] |
Date: | Tue, 2 Apr 2024 11:45:35 +0200 |
User-agent: | Mozilla Thunderbird |
On 31/3/24 20:17, Paolo Bonzini wrote:
If no bytes are there to process in the message in phase, the input data latch (s->sidl) is set to s->msg[-1]. Just do nothing since no DMA is performed. Reported-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- hw/scsi/lsi53c895a.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |