Skip to content

efi: fix and test getinfo() returned buffer size

Vincent Stehlé u-boot 1 version New

Get series with b4
b4 am [email protected] change-id 20261112-getinfo-5c5e514bbc98

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi_loader: fix getinfo() returned buffer sizelib/efi_loader/efi_file.c+5 -60 replies
2/2efi_selftest: verify getinfo() returned buffer sizelib/efi_selftest/efi_selftest_block_device.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] efi: fix and test getinfo() returned buffer size

This couple of patches does the following:
- Fix the buffer size returned by EFI_FILE_PROTOCOL.GetInfo().
- Enhance the existing block device selftest to verify it.

The existing selftest exercises only one path of GetInfo() out of three, but as the fix is common to all paths this is a good start already.

---
Vincent Stehlé (2):
efi_loader: fix getinfo() returned buffer size
efi_selftest: verify getinfo() returned buffer size

 lib/efi_loader/efi_file.c                    | 11 +++++------
 lib/efi_selftest/efi_selftest_block_device.c |  6 ++++++
 2 files changed, 11 insertions(+), 6 deletions(-)

---
base-commit: 3cb2cbbc75aa7fe2391f662607d6b2f46c1292a7
change-id: 20261112-getinfo-5c5e514bbc98

Best regards,

Signature · 1 line
Vincent.