[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbWx5u2RBmZ8bjoV-85b3HmQyWHxxwQ12zx_6pAFPPMUQ@mail.gmail.com>
Date: Tue, 15 Apr 2025 09:23:32 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Charles Han <hanchunchao@...pur.com>
Cc: andersson@...nel.org, linux-arm-msm@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: qcom: tlmm-test: Fix potential null dereference
in tlmm kunit test
On Tue, Mar 25, 2025 at 10:49 AM Charles Han <hanchunchao@...pur.com> wrote:
> kunit_kzalloc() may return a NULL pointer, dereferencing it without
> NULL check may lead to NULL dereference.
> Add a NULL check for grp.
>
> Fixes: c7984dc0a2b9 ("pinctrl: qcom: Add test case for TLMM interrupt handling")
> Signed-off-by: Charles Han <hanchunchao@...pur.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists