[PATCH 0/3] efi_loader: Address some issues found by Smatch

Andrew Goodbody andrew.goodbody at linaro.org
Tue Jul 1 15:38:21 CEST 2025


Smatch reported that there were some unitialised variables and
dereferencing of NULL pointers. This series addresses these issues.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (3):
      efi_loader: Prevent dereferencing NULL pointer
      efi_loader: Prevent dereference of uninitialised variable
      efi_loader: Prevent free of uninitialised pointer

 lib/efi_loader/efi_file.c |  2 +-
 lib/efi_loader/efi_http.c | 14 +++++++-------
 lib/efi_loader/efi_net.c  |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
---
base-commit: 7027b445cc0bfb86204ecb1f1fe596f5895048d9
change-id: 20250701-efiloader_fix-63c3609c6ed8

Best regards,
-- 
Andrew Goodbody <andrew.goodbody at linaro.org>



More information about the U-Boot mailing list