Re: [PATCH] tools: Fix potential null-deref with result of strtok_r

2025-02-18 Thread Tom Rini
On Sun, 09 Feb 2025 18:46:21 +0300, Maks Mishin wrote: > Return value of a function 'strtok_r' is dereferenced at kwbimage.c:1655 > without checking for NULL, but it is usually checked for this function. > > Applied to u-boot/next, thanks! -- Tom

[PATCH] tools: Fix potential null-deref with result of strtok_r

2025-02-09 Thread Maks Mishin
Return value of a function 'strtok_r' is dereferenced at kwbimage.c:1655 without checking for NULL, but it is usually checked for this function. Signed-off-by: Maks Mishin --- tools/kwbimage.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index d1