From: David Lechner <dlechner@baylibre.com>
To: Charles Han <hanchunchao@inspur.com>,
marius.cristea@microchip.com, jic23@kernel.org,
nuno.sa@analog.com, andy@kernel.org
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: adc: Fix a null pointer dereference in pac1934_acpi_parse_channel_config
Date: Mon, 1 Sep 2025 11:49:46 -0500 [thread overview]
Message-ID: <e610c63d-7db0-427e-953f-b49b2b5ad2d0@baylibre.com> (raw)
In-Reply-To: <20250901064512.1554-1-hanchunchao@inspur.com>
On 9/1/25 1:45 AM, Charles Han wrote:
> Add check for the return value of devm_kmemdup()
> to prevent potential null pointer dereference.
>
> Fixes: 0fb528c8255b ("iio: adc: adding support for PAC193x")
> Signed-off-by: Charles Han <hanchunchao@inspur.com>
> ---
Reviewed-by: David Lechner <dlechner@baylibre.com>
prev parent reply other threads:[~2025-09-01 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 6:45 Charles Han
2025-09-01 16:49 ` Jonathan Cameron
2025-09-01 16:49 ` David Lechner [this message]
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=e610c63d-7db0-427e-953f-b49b2b5ad2d0@baylibre.com \
--to=dlechner@baylibre.com \
--cc=andy@kernel.org \
--cc=hanchunchao@inspur.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marius.cristea@microchip.com \
--cc=nuno.sa@analog.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®