Re: [PATCH] scripts: kconfig: fix deref after null in menu.c

2025-05-16 Thread Tom Rini
On Fri, May 16, 2025 at 05:56:11PM +0300, ant.v.morya...@gmail.com wrote: > From: Anton Moryakov > > Static analyzer detected a potential NULL pointer dereference when 'sym' > pointer is passed to for_all_prompts() and other functions after being > checked for NULL earlier in the function. > >

[PATCH] scripts: kconfig: fix deref after null in menu.c

2025-05-16 Thread ant . v . moryakov
From: Anton Moryakov Static analyzer detected a potential NULL pointer dereference when 'sym' pointer is passed to for_all_prompts() and other functions after being checked for NULL earlier in the function. The issue could occur when called from gstr get_relations_str() with NULL symbol pointer.