qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] scsi: megasas: check request object in MegasasC


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] scsi: megasas: check request object in MegasasCmd
Date: Wed, 10 May 2017 16:51:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0


On 10/05/2017 13:13, P J P wrote:
> From: Prasad J Pandit <address@hidden>
> 
> 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 <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>

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).

Thanks,

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]