efi_loader: Address some issues found by Smatch
Get series with b4
b4 am [email protected] change-id 20250701-efiloader_fix-63c3609c6ed8Versions newest first
- v2 Latest3 patches 2 repliesIn review
- v13 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Address review comments on 2/3 to return EFI_UNSUPPORTED and eliminate
the use of protocol_interface
- Collect RB tags for unchanged patches
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | efi_loader: Prevent dereferencing NULL pointerlib/ | +1 | 0 replies | |
| 2/3 | efi_loader: Prevent dereference of uninitialised variablelib/ | +4 | 2 replies | |
| 3/3 | efi_loader: Prevent free of uninitialised pointerlib/ | +1 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Ilias Apalodimas | Heinrich Schuchardt |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] efi_loader: Address some issues found by Smatch
Smatch reported that there were some unitialised variables and dereferencing of NULL pointers. This series addresses these issues.
---
Changes in v2:
- Address review comments on 2/3 to return EFI_UNSUPPORTED and eliminate
the use of protocol_interface
- Collect RB tags for unchanged patches
- Link to v1: https://lore.kernel.org/r/[email protected]
---
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 | 9 ++++----- lib/efi_loader/efi_net.c | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-)
---
base-commit: 7027b445cc0bfb86204ecb1f1fe596f5895048d9
change-id: 20250701-efiloader_fix-63c3609c6ed8
Best regards,
Signature · 1 line
Andrew Goodbody <[email protected]>