[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e610c63d-7db0-427e-953f-b49b2b5ad2d0@baylibre.com>
Date: Mon, 1 Sep 2025 11:49:46 -0500
From: David Lechner <dlechner@...libre.com>
To: Charles Han <hanchunchao@...pur.com>, marius.cristea@...rochip.com,
jic23@...nel.org, nuno.sa@...log.com, andy@...nel.org
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: adc: Fix a null pointer dereference in
pac1934_acpi_parse_channel_config
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@...pur.com>
> ---
Reviewed-by: David Lechner <dlechner@...libre.com>
Powered by blists - more mailing lists