Re: [PATCH 1/1] boot: boot_flow_iter_set() called with uninitialized methods_flag

2024-01-18 Thread Tom Rini
On Sun, Jan 07, 2024 at 09:56:07AM +0100, Heinrich Schuchardt wrote: > Some code paths do not initialize methods_flag before using it. > Initialize it to 0 in the definition line. > > Addresses-Coverity-ID: ("467057 Uninitialized scalar variable") > Signed-off-by: Heinrich Schuchardt > --- > bo

[PATCH 1/1] boot: boot_flow_iter_set() called with uninitialized methods_flag

2024-01-07 Thread Heinrich Schuchardt
Some code paths do not initialize methods_flag before using it. Initialize it to 0 in the definition line. Addresses-Coverity-ID: ("467057 Uninitialized scalar variable") Signed-off-by: Heinrich Schuchardt --- boot/bootflow.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a