From: Paolo Bonzini <pbonzini@redhat.com>
To: P J P <ppandit@redhat.com>, Qemu Developers <qemu-devel@nongnu.org>
Cc: Zhangyanyu <zyy4013@stu.ouc.edu.cn>,
Prasad J Pandit <pjp@fedoraproject.org>
Subject: Re: [Qemu-devel] [PATCH] scsi: megasas: check request object in MegasasCmd
Date: Wed, 10 May 2017 16:51:23 +0200 [thread overview]
Message-ID: <70706623-df88-fec7-9402-d076abd20d29@redhat.com> (raw)
In-Reply-To: <20170510111350.18422-1-ppandit@redhat.com>
On 10/05/2017 13:13, P J P wrote:
> From: Prasad J Pandit <pjp@fedoraproject.org>
>
> 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 <zyy4013@stu.ouc.edu.cn>
> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
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
next prev parent reply other threads:[~2017-05-10 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-10 11:13 [Qemu-devel] [PATCH] scsi: megasas: check request object in MegasasCmd P J P
2017-05-10 14:51 ` Paolo Bonzini [this message]
2017-05-10 17:14 ` P J P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70706623-df88-fec7-9402-d076abd20d29@redhat.com \
--to=pbonzini@redhat.com \
--cc=pjp@fedoraproject.org \
--cc=ppandit@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=zyy4013@stu.ouc.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).