efi: fix and test getinfo() returned buffer size
Get series with b4
b4 am [email protected] change-id 20261112-getinfo-5c5e514bbc98Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | efi_loader: fix getinfo() returned buffer sizelib/ | +5 | 0 replies | |
| 2/2 | efi_selftest: verify getinfo() returned buffer sizelib/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.
Signed-off-by Vincent Stehlé <[email protected]>
---
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.