[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY1wtMN_bq+za=nhd_xYb-23g2zeA++ouwxVsJMxH5L9Q@mail.gmail.com>
Date: Fri, 10 Aug 2018 23:13:31 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: vasilyev@...ras.ru
Cc: Chen-Yu Tsai <wens@...e.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation
On Mon, Aug 6, 2018 at 6:07 PM Anton Vasilyev <vasilyev@...ras.ru> wrote:
> There is no check that allocation in axp20x_funcs_groups_from_mask
> is successful.
> The patch adds corresponding check and return values.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Anton Vasilyev <vasilyev@...ras.ru>
Patch applied with Chen-Yu's ACK.
Yours,
Linus Walleij
Powered by blists - more mailing lists