Re: [PATCH] boot: Ensure method_flags is initialised before use

2025-07-09 Thread Andrew Goodbody
On 09/07/2025 01:14, Tom Rini wrote: On Fri, Jun 27, 2025 at 11:09:36AM +0100, Andrew Goodbody wrote: The local variable method_flags is only assigned to in some of the code paths leaving it possibly uninitialised at first use. Initialise method_flags at declaration to ensure that it cannot be

Re: [PATCH] boot: Ensure method_flags is initialised before use

2025-07-09 Thread Andrew Goodbody
On 09/07/2025 01:14, Tom Rini wrote: On Fri, Jun 27, 2025 at 11:09:36AM +0100, Andrew Goodbody wrote: The local variable method_flags is only assigned to in some of the code paths leaving it possibly uninitialised at first use. Initialise method_flags at declaration to ensure that it cannot be

Re: [PATCH] boot: Ensure method_flags is initialised before use

2025-07-08 Thread Tom Rini
On Fri, Jun 27, 2025 at 11:09:36AM +0100, Andrew Goodbody wrote: > The local variable method_flags is only assigned to in some of the > code paths leaving it possibly uninitialised at first use. > Initialise method_flags at declaration to ensure that it cannot be > used uninitialised. Also remove

[PATCH] boot: Ensure method_flags is initialised before use

2025-06-27 Thread Andrew Goodbody
The local variable method_flags is only assigned to in some of the code paths leaving it possibly uninitialised at first use. Initialise method_flags at declaration to ensure that it cannot be used uninitialised. Also remove now redundant assignments. Signed-off-by: Andrew Goodbody --- boot/boot