From: Lee Jones <lee@kernel.org>
To: danielt@kernel.org, Henry Martin <bsdhenrymartin@gmail.com>
Cc: jingoohan1@gmail.com, deller@gmx.de,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: (subset) [PATCH v4] backlight: pm8941: Add NULL check in wled_configure()
Date: Fri, 4 Apr 2025 16:13:00 +0100 [thread overview]
Message-ID: <20250404151300.GD372032@google.com> (raw)
In-Reply-To: <174377951404.402191.3996310155954584937.b4-ty@kernel.org>
On Fri, 04 Apr 2025, Lee Jones wrote:
> On Tue, 01 Apr 2025 17:16:47 +0800, Henry Martin wrote:
> > devm_kasprintf() returns NULL when memory allocation fails. Currently,
> > wled_configure() does not check for this case, which results in a NULL
> > pointer dereference.
> >
> > Add NULL check after devm_kasprintf() to prevent this issue.
> >
> >
> > [...]
>
> Applied, thanks!
>
> [1/1] backlight: pm8941: Add NULL check in wled_configure()
> commit: b0fdeb96ead46de57a6226bc3a3ac7f9b50c0ace
Next time, please send subsequent patch versions independently.
--
Lee Jones [李琼斯]
next prev parent reply other threads:[~2025-04-04 15:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 2:57 [PATCH v3] backlight: pm8941: Add NULL check in wled_configure() Henry Martin
2025-04-01 6:18 ` Markus Elfring
2025-04-01 6:53 ` Henry Martin
2025-04-01 8:29 ` Henry Martin
2025-04-01 8:58 ` Daniel Thompson
2025-04-01 9:16 ` [PATCH v4] " Henry Martin
2025-04-04 15:11 ` (subset) " Lee Jones
2025-04-04 15:13 ` Lee Jones [this message]
2025-04-04 15:19 ` henry martin
2025-04-01 10:00 ` [v4?] " Markus Elfring
2025-04-01 8:44 ` [PATCH v3] " Daniel Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250404151300.GD372032@google.com \
--to=lee@kernel.org \
--cc=bsdhenrymartin@gmail.com \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.