[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f9c2f19.3e20a.180f19810d9.Coremail.lyz_cs@pku.edu.cn>
Date: Mon, 23 May 2022 23:45:16 +0800 (GMT+08:00)
From: 刘永志 <lyz_cs@....edu.cn>
To: "andy shevchenko" <andy.shevchenko@...il.com>
Cc: "andy gross" <agross@...nel.org>,
"bjorn andersson" <bjorn.andersson@...aro.org>,
"jonathan cameron" <jic23@...nel.org>,
"lars-peter clausen" <lars@...afoo.de>,
"stanimir varbanov" <svarbanov@...sol.com>,
"ivan t. ivanov" <iivanov@...sol.com>,
"jonathan cameron" <jonathan.cameron@...wei.com>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
linux-iio <linux-iio@...r.kernel.org>,
"linux kernel mailing list" <linux-kernel@...r.kernel.org>,
fuyq@....pku.edu.cn
Subject: Re: Re: [PATCH] hv_netvsc: Fix potential dereference of NULL
pointer
> -----Original Messages-----
> From: "Andy Shevchenko" <andy.shevchenko@...il.com>
> Sent Time: 2022-05-23 23:21:54 (Monday)
> To: "Yongzhi Liu" <lyz_cs@....edu.cn>
> Cc: "Andy Gross" <agross@...nel.org>, "Bjorn Andersson" <bjorn.andersson@...aro.org>, "Jonathan Cameron" <jic23@...nel.org>, "Lars-Peter Clausen" <lars@...afoo.de>, "Stanimir Varbanov" <svarbanov@...sol.com>, "Ivan T. Ivanov" <iivanov@...sol.com>, "Jonathan Cameron" <jonathan.cameron@...wei.com>, linux-arm-msm <linux-arm-msm@...r.kernel.org>, linux-iio <linux-iio@...r.kernel.org>, "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>, fuyq@....pku.edu.cn
> Subject: Re: [PATCH] hv_netvsc: Fix potential dereference of NULL pointer
>
> On Sat, May 21, 2022 at 6:27 AM Yongzhi Liu <lyz_cs@....edu.cn> wrote:
> >
> > The return value of netvsc_devinfo_get()
> > needs to be checked to avoid use of NULL
> > pointer in case of an allocation failure.
>
> > Fixes: 0efeea5fb ("hv_netvsc: Add the support of hibernation")
> >
> > Signed-off-by: Yongzhi Liu <lyz_cs@....edu.cn>
>
Thanks for your reply and advice.
> For the future independently of the subsystem or mailing list, the tag
> block (above) mustn't have lank lines.
>
> --
> With Best Regards,
> Andy Shevchenko
Powered by blists - more mailing lists