Hello Paolo,
+-- On Wed, 10 May 2017, Paolo Bonzini wrote --+
| What version was this reported for? It should be fixed in v2.8.0 and
| newer by commit 9e55d58806 ("megasas: clean up and fix request
| completion/cancellation", 2016-11-28).
I checked the reproducer against current upstream git,
On 10/05/2017 13:13, P J P wrote:
> From: Prasad J Pandit
>
> When processing completed commands, if SCSIRequest object
> 'cmd->req' was null, it could lead to null pointer dereference
> in megasas_complete_command. Add check to avoid it.
>
> Reported-by: Zhangyanyu
> Signed-off-by: Prasad J
From: Prasad J Pandit
When processing completed commands, if SCSIRequest object
'cmd->req' was null, it could lead to null pointer dereference
in megasas_complete_command. Add check to avoid it.
Reported-by: Zhangyanyu
Signed-off-by: Prasad J Pandit
---
hw/scsi/megasas.c | 8 +---
1 file