Re: [PATCH] tools: fix NULL_AFTER_DEREF in image-host.c

2025-02-11 Thread Tom Rini
On Thu, 30 Jan 2025 16:42:43 +0300, Anton Moryakov wrote: > Report of the static analyzer: > 1. NULL_AFTER_DEREF Pointer 'str', which is dereferenced at image-host.c:688 > by calling function 'strdup', is compared to a NULL value at image-host.c:691. > 2. NULL_AFTER_DEREF Pointer 'list', which is

[PATCH] tools: fix NULL_AFTER_DEREF in image-host.c

2025-01-30 Thread Anton Moryakov
Report of the static analyzer: 1. NULL_AFTER_DEREF Pointer 'str', which is dereferenced at image-host.c:688 by calling function 'strdup', is compared to a NULL value at image-host.c:691. 2. NULL_AFTER_DEREF Pointer 'list', which is dereferenced at image-host.c:689, is compared to a NULL value at