[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vc+fubwb0PGqVyDs5Np10ZW06F2REVKK=G26zOKT8gvFQ@mail.gmail.com>
Date: Mon, 23 May 2022 17:21:54 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
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>
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