On 2026-06-21T08:19:04, Heinrich Schuchardt
<[email protected]> wrote:
> efi_loader: smbiosdump: fix starts_with() returning NULL
>
> starts_with() is declared as returning bool, but the null-argument
> guard returned NULL (a pointer cast to bool) instead of false.
> While harmless on most platforms where NULL and false both have
> value zero, it is technically incorrect.
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> Reviewed-by: Ilias Apalodimas <[email protected]>
>
> lib/efi_loader/smbiosdump.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to