On 2026-11-03T09:53:01+11:00, Nikita Shubin <[email protected]> wrote: > test: spl: Zero spl_image_info > > The next patch makes spl_load_fit_image() check spl_image->fdt_addr and > write the loadables into that FDT. With an uninitialised spl_image_info > on the stack this could end up writing to a random address. > > Use memset() to make sure spl_image_info is initialised before passing > it, as board_init_r() does. > > Signed-off-by: Nikita Shubin <[email protected]> > > test/image/spl_load_os.c | 2 ++ > 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass <[email protected]>
