[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a6526df2-2861-4142-95e7-1c6a83321ac3@gmail.com>
Date: Sun, 5 Oct 2025 23:55:29 -0400
From: David Hunter <david.hunter.linux@...il.com>
To: hariconscious@...il.com, perex@...ex.cz, tiwai@...e.com
Cc: khalid@...nel.org, shuah@...nel.org, linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sound/core/seq: Initialize structure pointer to NULL to
prevent undefined behavior
On 10/2/25 13:43, hariconscious@...il.com wrote:
> From: HariKrishna Sagala <hariconscious@...il.com>
>
> This change ensures the structure pointer is explicitly initialized to
> NULL,preventing potential access to uninitialized memory. It improves
> code safety and avoids undefined behavior during pointer dereferencing.
>
> Signed-off-by: HariKrishna Sagala <hariconscious@...il.com>
Hi Harikrishna,
Thank you for detailing your attempt at testing. Unfortunately, your
patch makes no substantive change. The variable you are setting to NULL
is assigned before use, so there is no risk of undefined behavior.
I know this can seem discouraging to hear, but I do want you to
encourage you to keep looking for ways you can make contributions.
Thanks,
David
Powered by blists - more mailing lists