Re: [PATCH] ASoC: amd: acp: Fix potential null pointer dereference of "adata"
From: Mark Brown
Date: Mon Nov 11 2024 - 09:27:02 EST
On Wed, Nov 06, 2024 at 01:57:20PM +0800, Luo Yifan wrote:
> The condition `!adata` indicates a possible null pointer dereference
> for the "adata" parameter. To address this, the access to "adata"
> members has been moved after the null check to ensure safer handling.
This doesn't apply against current code, please check and resend.
Attachment:
signature.asc
Description: PGP signature