[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200316174502.GA274042@kroah.com>
Date: Mon, 16 Mar 2020 18:45:02 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Xiyu Yang <xiyuyang19@...an.edu.cn>
Cc: Arnd Bergmann <arnd@...db.de>, Xin Tan <tanxin.ctf@...il.com>,
Kate Stewart <kstewart@...uxfoundation.org>,
Allison Randal <allison@...utok.net>,
Ira Weiny <ira.weiny@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, yuanxzhang@...an.edu.cn, kjlu@....edu
Subject: Re: [PATCH] VMCI: Fix dereference before NULL-check of context ptr
On Tue, Mar 17, 2020 at 12:18:33AM +0800, Xiyu Yang wrote:
> A NULL pointer can be returned by vmci_ctx_get(). Thus add a
> corresponding check so that a NULL pointer dereference will
> be avoided in vmci_ctx_put().
>
> Signed-off-by: Xiyu Yang <xiyuyang19@...an.edu.cn>
> Signed-off-by: Xin Tan <tanxin.ctf@...il.com>
> ---
> drivers/misc/vmw_vmci/vmci_queue_pair.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
You sent 2 different patches with the same subject, yet they did
different things :(
Please fix this up, make them unique, and send a patch series.
thanks,
greg k-h
Powered by blists - more mailing lists