[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 8 Aug 2018 17:13:07 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Anton Vasilyev <vasilyev@...ras.ru>
Cc: Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation
On Tue, Aug 7, 2018 at 12:06 AM, 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>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists