[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZPZ5fNxt3=LCT4YRcnH5wNw+i50dde_eQGynzK0FCXFw@mail.gmail.com>
Date: Fri, 3 Jun 2022 12:13:18 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Haowen Bai <baihaowen@...zu.com>
Cc: Andrew Jeffery <andrew@...id.au>, Joel Stanley <joel@....id.au>,
linux-aspeed@...ts.ozlabs.org, openbmc@...ts.ozlabs.org,
linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
On Thu, Apr 21, 2022 at 4:28 AM Haowen Bai <baihaowen@...zu.com> wrote:
> pdesc could be null but still dereference pdesc->name and it will lead to
> a null pointer access. So we move a null check before dereference.
>
> Signed-off-by: Haowen Bai <baihaowen@...zu.com>
Patch applied, sorry for missing it!
Yours,
Linus Walleij
Powered by blists - more mailing lists