Re: [PATCH] spl: NULL check variable before dereference

2025-07-29 Thread Tom Rini
On Fri, 18 Jul 2025 13:19:54 +0100, Andrew Goodbody wrote: > In boot_from_devices the variable loader is not NULL checked after > assignment and before first use but later code does check it for NULL. > Add a NULL check before first use. > > This issue was found by Smatch. > > > [...] Applied

[PATCH] spl: NULL check variable before dereference

2025-07-18 Thread Andrew Goodbody
In boot_from_devices the variable loader is not NULL checked after assignment and before first use but later code does check it for NULL. Add a NULL check before first use. This issue was found by Smatch. Signed-off-by: Andrew Goodbody --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+)