Messages in this thread | | | From | Chen-Yu Tsai <> | Date | Wed, 8 Aug 2018 17:13:07 +0800 | Subject | Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation |
| |
On Tue, Aug 7, 2018 at 12:06 AM, Anton Vasilyev <vasilyev@ispras.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@ispras.ru>
Acked-by: Chen-Yu Tsai <wens@csie.org>
| |