Re: [PATCH] button: qcom-pmic: Fix dereference of uninitialised pointer

2025-08-18 Thread Casey Connolly
On Wed, 23 Jul 2025 11:58:04 +0100, Andrew Goodbody wrote: > The pointer 'label' is declared and later dereferenced without ever > having a value assigned to it. Add an assignment to this pointer so it > will be valid later when dereferenced. > > This issue was found by Smatch. > > > [...] Ap

Re: [PATCH] button: qcom-pmic: Fix dereference of uninitialised pointer

2025-08-07 Thread Andrew Goodbody
On 25/07/2025 14:25, Casey Connolly wrote: On 23/07/2025 12:58, Andrew Goodbody wrote: The pointer 'label' is declared and later dereferenced without ever having a value assigned to it. Add an assignment to this pointer so it will be valid later when dereferenced. This issue was found by Smat

Re: [PATCH] button: qcom-pmic: Fix dereference of uninitialised pointer

2025-07-25 Thread Casey Connolly
On 23/07/2025 12:58, Andrew Goodbody wrote: > The pointer 'label' is declared and later dereferenced without ever > having a value assigned to it. Add an assignment to this pointer so it > will be valid later when dereferenced. > > This issue was found by Smatch. > > Signed-off-by: Andrew Good