[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMZ6RqJvN10Qf7rg-Z1aD82kJGPqueqgr+t88=yoJH93m+OuGw@mail.gmail.com>
Date: Thu, 15 Apr 2021 20:42:36 +0900
From: Vincent MAILHOL <mailhol.vincent@...adoo.fr>
To: Marc Kleine-Budde <mkl@...gutronix.de>
Cc: Colin King <colin.king@...onical.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Arunachalam Santhanam <arunachalam.santhanam@...bosch.com>,
linux-can <linux-can@...r.kernel.org>,
netdev <netdev@...r.kernel.org>, kernel-janitors@...r.kernel.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] can: etas_es58x: Fix missing null check on netdev pointer
On Thu. 15 Apr 2021 at 18:04, Marc Kleine-Budde <mkl@...gutronix.de> wrote:
> On 15.04.2021 09:47:23, Colin King wrote:
> > From: Colin Ian King <colin.king@...onical.com>
> >
> > There is an assignment to *netdev that is can potentially be null but the
^^
Typo: that is can -> that can
> > null check is checking netdev and not *netdev as intended. Fix this by
> > adding in the missing * operator.
> >
> > Addresses-Coverity: ("Dereference before null check")
> > Fixes: 8537257874e9 ("can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces")
> > Signed-off-by: Colin Ian King <colin.king@...onical.com>
Acked-by: Vincent Mailhol <mailhol.vincent@...adoo.fr>
Thanks Colin!
Powered by blists - more mailing lists